Pagini recente » Borderou de evaluare (job #1752938) | Borderou de evaluare (job #2902467) | Borderou de evaluare (job #1751882) | Borderou de evaluare (job #51112) | Borderou de evaluare (job #1571007)
Borderou de evaluare (job #1571007)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d", &n);
^
user.cpp:20:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin, "%d", &v[i]);
^
user.cpp:42:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(fout, "%d", maxx);
^
user.cpp:16:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:20:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 428kb | OK | 10 |
| 2 | 0ms | 420kb | OK | 10 |
| 3 | 0ms | 420kb | OK | 10 |
| 4 | 0ms | 420kb | OK | 10 |
| 5 | 0ms | 424kb | OK | 10 |
| 6 | 0ms | 428kb | OK | 10 |
| 7 | 0ms | 424kb | Incorect | 0 |
| 8 | 0ms | 424kb | Incorect | 0 |
| 9 | 0ms | 428kb | OK | 10 |
| 10 | 0ms | 424kb | OK | 10 |
| Punctaj total | 80 |