Pagini recente » Borderou de evaluare (job #3132042) | Borderou de evaluare (job #2178026) | Borderou de evaluare (job #463061) | Borderou de evaluare (job #275283) | Borderou de evaluare (job #1259083)
Borderou de evaluare (job #1259083)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&n,&p);
^
user.cpp:26:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:28:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&v[i].t,&v[i].c);
^
user.cpp:28:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:49:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",maxs);
^
user.cpp:26:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&p);
^
user.cpp:28: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].t,&v[i].c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 260kb | Incorect | 0 |
| 3 | 0ms | 264kb | Incorect | 0 |
| 4 | 4ms | 260kb | Incorect | 0 |
| 5 | 20ms | 268kb | Incorect | 0 |
| 6 | 20ms | 268kb | Incorect | 0 |
| 7 | 20ms | 264kb | Incorect | 0 |
| 8 | 84ms | 268kb | Incorect | 0 |
| 9 | 80ms | 264kb | Incorect | 0 |
| 10 | 80ms | 264kb | Incorect | 0 |
| Punctaj total | 10 |