Submission #111978
Source Code Expand
#include <stdio.h> #include <math.h> #include <string.h> int main(void) { int N,M; int i,j,k; int n; int m[66][2]; int hoge[12][11]; scanf("%d%d",&N,&M); if(M==0){ printf("1"); return 0; } memset(m,0,sizeof(m)); memest(hoge,0,sizeof(hoge)); for(i=0;i<M;i++){ scanf("%d%d",m[i][0],m[i][1]); } return 0; }
Submission Info
Submission Time | |
---|---|
Task | D - 派閥 |
User | tkzw_21 |
Language | C (GCC 4.6.4) |
Score | 0 |
Code Size | 369 Byte |
Status | CE |
Compile Error
./Main.c: In function ‘main’: ./Main.c:26:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘int’ [-Wformat] ./Main.c:26:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int’ [-Wformat] ./Main.c:15:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] ./Main.c:26:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccg7sj8j.o: In function `main': Main.c:(.text.startup+0x4c): undefined reference to `memest' collect2: ld returned 1 exit status