Pagini recente » Borderou de evaluare (job #3204306) | Borderou de evaluare (job #694662) | Borderou de evaluare (job #1464362) | Borderou de evaluare (job #3207710) | Borderou de evaluare (job #1375403)
Borderou de evaluare (job #1375403)
Raport evaluator
Compilare:
user.cpp: In function ‘void afisare()’:
user.cpp:89:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%d\n", maxi);
^
user.cpp:93:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%d\n", same);
^
user.cpp:86:15: warning: unused variable ‘i’ [-Wunused-variable]
long long i;
^
user.cpp: In function ‘void citire()’:
user.cpp:33: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:35:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 296kb | OK | 10 |
6 | 0ms | 296kb | OK | 10 |
7 | 0ms | 300kb | Incorect | 0 |
8 | 0ms | 300kb | OK | 10 |
9 | 4ms | 292kb | OK | 10 |
10 | 4ms | 300kb | OK | 10 |
Punctaj total | 90 |