Pagini recente » Borderou de evaluare (job #1835171) | Borderou de evaluare (job #2726158) | Borderou de evaluare (job #2137378) | Borderou de evaluare (job #1206463) | Borderou de evaluare (job #1328031)
Borderou de evaluare (job #1328031)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:79:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(file, "%ld ", &lng);
^
user.cpp:82:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(file, "%ld ", &vector[i]);
^
user.cpp:84:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(file, "%ld ", &questions);
^
user.cpp:86:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(file, "%ld ", &ID);
^
user.cpp:91:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(file, "%ld ", &target);
^
user.cpp:97:40: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(out, "%ld\r\n", response + 1);
^
user.cpp:100:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(file, "%ld ", &target);
^
user.cpp:106:40: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(out, "%ld\r\n", response + 1);
^
user.cpp:110:40: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(out, "%ld\r\n", response + 1);
^
user.cpp:78:7: warning: unused variable ‘found’ [-Wunused-variable]
bool found = 0;
^
user.cpp:79:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file, "%ld ", &lng);
^
user.cpp:82:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file, "%ld ", &vector[i]);
^
user.cpp:84:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file, "%ld ", &questions);
^
user.cpp:86:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file, "%ld ", &ID);
^
user.cpp:91:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file, "%ld ", &target);
^
user.cpp:100:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file, "%ld ", &target);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 244kb | Time limit exceeded. | 0 | 0 |
2 | Depăşit | 216kb | Time limit exceeded. | 0 | 0 |
3 | Depăşit | 244kb | Time limit exceeded. | 0 | 0 |
4 | Depăşit | 224kb | Time limit exceeded. | 0 | 0 |
5 | Depăşit | 288kb | Time limit exceeded. | 0 | 0 |
6 | 12ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 28ms | 616kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 36ms | 616kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 32ms | 616kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 36ms | 612kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |