Pagini recente » Borderou de evaluare (job #1093438) | Borderou de evaluare (job #2248313) | Borderou de evaluare (job #48730) | Borderou de evaluare (job #309866) | Borderou de evaluare (job #2045869)
Borderou de evaluare (job #2045869)
Raport evaluator
Compilare:
user.cpp:48:29: warning: integer overflow in expression [-Woverflow]
const int INF = (1 << 31) - 1;
^
user.cpp: In function ‘char Advance()’:
user.cpp:25:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, 1, SIZE, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:77:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbkset.in", "r", stdin);
^
user.cpp:78:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbkset.out", "w", stdout);
^
user.cpp:80:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:83:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:86:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:90:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3420ms | 119324kb | OK | 50 | 100 |
2 | 468ms | 20320kb | OK | 50 |
Punctaj total | 100 |