Pagini recente » Borderou de evaluare (job #2321032) | Borderou de evaluare (job #551828) | Borderou de evaluare (job #88570) | Borderou de evaluare (job #1356576) | Borderou de evaluare (job #1417809)
Borderou de evaluare (job #1417809)
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 | 248kb | Okay! | 10 |
| 2 | 0ms | 248kb | Okay! | 10 |
| 3 | 0ms | 264kb | Okay! | 10 |
| 4 | 0ms | 280kb | Okay! | 10 |
| 5 | 4ms | 316kb | Wrong answer | 0 |
| 6 | 8ms | 388kb | Wrong answer | 0 |
| 7 | 12ms | 440kb | Wrong answer | 0 |
| 8 | 32ms | 696kb | Wrong answer | 0 |
| 9 | 48ms | 908kb | Wrong answer | 0 |
| 10 | 56ms | 1024kb | Wrong answer | 0 |
| Punctaj total | 40 |