Pagini recente » Borderou de evaluare (job #2842420) | Borderou de evaluare (job #2666638) | Borderou de evaluare (job #1359512) | Borderou de evaluare (job #3296260) | Borderou de evaluare (job #1417813)
Borderou de evaluare (job #1417813)
Raport evaluator
Compilare:
user.cpp: In function ‘void readdata()’:
user.cpp:17:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:20:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&v[i].x,&v[i].y);
^
user.cpp:20:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp: In function ‘void writedata()’:
user.cpp:68:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(f,"%d",d);
^
user.cpp: In function ‘void readdata()’:
user.cpp:17:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:20:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&v[i].x,&v[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | Wrong answer | 0 |
| 2 | 0ms | 252kb | Wrong answer | 0 |
| 3 | 0ms | 268kb | Wrong answer | 0 |
| 4 | 0ms | 284kb | Wrong answer | 0 |
| 5 | 4ms | 320kb | Wrong answer | 0 |
| 6 | 8ms | 392kb | Wrong answer | 0 |
| 7 | 12ms | 448kb | Wrong answer | 0 |
| 8 | 36ms | 692kb | Wrong answer | 0 |
| 9 | 44ms | 912kb | Wrong answer | 0 |
| 10 | 56ms | 1032kb | Wrong answer | 0 |
| Punctaj total | 0 |