Pagini recente » Borderou de evaluare (job #1724216) | Borderou de evaluare (job #1472770) | Borderou de evaluare (job #386771) | Borderou de evaluare (job #2008737) | Borderou de evaluare (job #1625992)
Borderou de evaluare (job #1625992)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:33: warning: too many arguments for format [-Wformat-extra-args]
fprintf(fout, "DA", '\n');
^
user.cpp:41:33: warning: too many arguments for format [-Wformat-extra-args]
fprintf(fout, "NU", '\n');
^
user.cpp:42:67: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
for(j=1;j<=gresit;j++) if(a[j]==1) fprintf(fout, "%ld ", j);
^
user.cpp:43:42: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(fout, "%ld", '\n', gresit);
^
user.cpp:43:42: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:11:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%c", &c);
^
user.cpp:20:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%c", &c);
^
user.cpp:31:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%c", &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 440kb | Incorect | 0 | 0 |
2 | 0ms | 440kb | Incorect | 0 |
3 | 0ms | 444kb | Incorect | 0 |
4 | 0ms | 448kb | Incorect | 0 | 0 |
5 | 0ms | 440kb | Incorect | 0 |
6 | 32ms | 484kb | Incorect | 0 |
7 | 40ms | 500kb | Incorect | 0 |
8 | 32ms | 480kb | Incorect | 0 | 0 |
9 | 44ms | 500kb | Incorect | 0 |
10 | 0ms | 436kb | Incorect | 0 |
Punctaj total | 0 |