Pagini recente » Borderou de evaluare (job #1397140) | Borderou de evaluare (job #535190) | Borderou de evaluare (job #587744) | Borderou de evaluare (job #2812778) | Borderou de evaluare (job #1375397)
Borderou de evaluare (job #1375397)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:33:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin, "%d", &n);
^
user.cpp:35:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin, "%d", &a[i]);
^
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 | 280kb | Incorect | 0 |
2 | 0ms | 284kb | Incorect | 0 |
3 | 0ms | 284kb | Incorect | 0 |
4 | 0ms | 288kb | Incorect | 0 |
5 | 0ms | 296kb | Incorect | 0 |
6 | 0ms | 304kb | Incorect | 0 |
7 | 0ms | 296kb | Incorect | 0 |
8 | 0ms | 304kb | OK | 10 |
9 | 4ms | 300kb | Incorect | 0 |
10 | 4ms | 304kb | OK | 10 |
Punctaj total | 20 |