Pagini recente » Borderou de evaluare (job #3182970) | Borderou de evaluare (job #2259725) | Borderou de evaluare (job #2397479) | Borderou de evaluare (job #1691499) | Borderou de evaluare (job #1327866)
Borderou de evaluare (job #1327866)
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 ‘short 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 | 0ms | 248kb | Incorect | 0 | 0 |
3 | Depăşit | 244kb | Time limit exceeded. | 0 | 0 |
4 | 0ms | 252kb | Incorect | 0 | 0 |
5 | Depăşit | 284kb | Time limit exceeded. | 0 | 0 |
6 | 60ms | 444kb | Incorect | 0 |
7 | 28ms | 612kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 28ms | 620kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 32ms | 612kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 32ms | 612kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |