Pagini recente » Borderou de evaluare (job #3248946) | Borderou de evaluare (job #1741058) | Borderou de evaluare (job #408429) | Borderou de evaluare (job #853361) | Borderou de evaluare (job #1378505)
Borderou de evaluare (job #1378505)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:29: warning: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 3 has type ‘unsigned int*’ [-Wformat=]
fscanf(f1,"%lu%lu",&n,&k);
^
user.cpp:8:29: warning: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 4 has type ‘unsigned int*’ [-Wformat=]
user.cpp:10:30: warning: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 3 has type ‘unsigned int*’ [-Wformat=]
fscanf(f1,"%lu",&v[i]),
^
user.cpp:22:32: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
fprintf(f2,"%lu ",j);
^
user.cpp:8:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%lu%lu",&n,&k);
^
user.cpp:11:16: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
s+=v[i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 296kb | OK | 10 |
6 | 0ms | 292kb | OK | 10 |
7 | 12ms | Depăşit | Memory limit exceeded. | 0 |
8 | 24ms | Depăşit | Memory limit exceeded. | 0 |
9 | 12ms | Depăşit | Memory limit exceeded. | 0 |
10 | 12ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 50 |