Pagini recente » Borderou de evaluare (job #2233822) | Borderou de evaluare (job #2148741) | Borderou de evaluare (job #1520990) | Borderou de evaluare (job #2549150) | Borderou de evaluare (job #1420210)
Borderou de evaluare (job #1420210)
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 | 16ms | 5320kb | Incorect | 0 | 0 |
2 | 20ms | 5436kb | OK | 25 |
3 | 204ms | 6484kb | Incorect | 0 |
4 | 364ms | 6488kb | Incorect | 0 |
Punctaj total | 0 |