Pagini recente » Borderou de evaluare (job #2305022) | Borderou de evaluare (job #481865) | Borderou de evaluare (job #2412461) | Borderou de evaluare (job #2529531) | Borderou de evaluare (job #1420209)
Borderou de evaluare (job #1420209)
Raport evaluator
Compilare:
user.cpp: In function ‘int getNr(int&)’:
user.cpp:22:18: warning: variable ‘sgn’ set but not used [-Wunused-but-set-variable]
int val = 0, sgn;
^
user.cpp: In function ‘int main()’:
user.cpp:41:28: warning: unused variable ‘sgn’ [-Wunused-variable]
int testCase, N, K, L, sgn, val;
^
user.cpp:41:33: warning: unused variable ‘val’ [-Wunused-variable]
int testCase, N, K, L, sgn, val;
^
user.cpp:45:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &testCase);
^
user.cpp:47:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d %d\n", &N, &K);
^
user.cpp:50:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(STR, MAX_STR, in);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 1896kb | Incorect | 0 | 0 |
2 | 8ms | 2016kb | OK | 25 |
3 | 192ms | 3040kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 36ms | 3032kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |