Pagini recente » Borderou de evaluare (job #627584) | Borderou de evaluare (job #181638) | Borderou de evaluare (job #1377018) | Borderou de evaluare (job #2553642) | Borderou de evaluare (job #1240307)
Borderou de evaluare (job #1240307)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%ld",&n);
^
user.cpp:12:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%ld",&v[i]);
^
user.cpp:26:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
fprintf(g,"%ld",q[1][n]);
^
user.cpp:10:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&n);
^
user.cpp:12:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 320kb | OK | 10 |
| 4 | 0ms | 396kb | OK | 10 |
| 5 | 0ms | 432kb | OK | 10 |
| 6 | 0ms | 628kb | OK | 10 |
| 7 | 20ms | 1020kb | OK | 10 |
| 8 | 68ms | 1416kb | OK | 10 |
| 9 | 232ms | 1808kb | Incorect | 0 |
| 10 | 464ms | 2200kb | Incorect | 0 |
| Punctaj total | 80 |