Pagini recente » Borderou de evaluare (job #771415) | Borderou de evaluare (job #588442) | Borderou de evaluare (job #790051) | Borderou de evaluare (job #285499) | Borderou de evaluare (job #1928291)
Borderou de evaluare (job #1928291)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(in, "%d", &n);
^
user.cpp:28:40: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(out, "%ul", res);
^
user.cpp:13:6: warning: unused variable ‘b’ [-Wunused-variable]
int b=0;
^
user.cpp:14:6: warning: unused variable ‘cn’ [-Wunused-variable]
int cn=n;
^
user.cpp:12:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 276kb | Incorect | 0 |
5 | 0ms | 276kb | Incorect | 0 |
6 | 0ms | 364kb | Incorect | 0 |
7 | 0ms | 416kb | Incorect | 0 |
8 | 4ms | 596kb | Incorect | 0 |
9 | 8ms | 904kb | Incorect | 0 |
10 | 12ms | 1232kb | Incorect | 0 |
Punctaj total | 0 |