Pagini recente » Borderou de evaluare (job #134179) | Borderou de evaluare (job #2388047) | Borderou de evaluare (job #1347229) | Borderou de evaluare (job #522255) | Borderou de evaluare (job #1348858)
Borderou de evaluare (job #1348858)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d%d",&n,&a);
^
user.cpp:16:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:21:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d%d",&b,&c),x[b][c]=-1;
^
user.cpp:21:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:26:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d%d%d%d",&x1,&y1,&x2,&y2);
^
user.cpp:26:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:26:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:26:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:16:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&a);
^
user.cpp:21:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&b,&c),x[b][c]=-1;
^
user.cpp:26:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d%d",&x1,&y1,&x2,&y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 276kb | Incorect | 0 |
5 | 0ms | 280kb | Incorect | 0 |
6 | 0ms | 308kb | Incorect | 0 |
7 | 4ms | 308kb | Incorect | 0 |
8 | 0ms | 284kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 296kb | Incorect | 0 |
10 | 0ms | 284kb | Incorect | 0 |
Punctaj total | 0 |