Pagini recente » Borderou de evaluare (job #1762724) | Borderou de evaluare (job #1922760) | Borderou de evaluare (job #1918119) | Borderou de evaluare (job #2952861) | Borderou de evaluare (job #1417810)
Borderou de evaluare (job #1417810)
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:67: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 | 264kb | Wrong answer | 0 |
| 4 | 0ms | 284kb | Wrong answer | 0 |
| 5 | 4ms | 324kb | Wrong answer | 0 |
| 6 | 8ms | 392kb | Wrong answer | 0 |
| 7 | 12ms | 448kb | Wrong answer | 0 |
| 8 | 32ms | 696kb | Wrong answer | 0 |
| 9 | 44ms | 916kb | Wrong answer | 0 |
| 10 | 56ms | 1028kb | Wrong answer | 0 |
| Punctaj total | 0 |