Pagini recente » Borderou de evaluare (job #833393) | Borderou de evaluare (job #2253374) | Borderou de evaluare (job #967209) | Borderou de evaluare (job #1447534) | Borderou de evaluare (job #1704042)
Borderou de evaluare (job #1704042)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:19: warning: unused variable ‘notUsed’ [-Wunused-variable]
long long notUsed = rest[y] - rest[x - 1];
^
user.cpp: In function ‘int readData()’:
user.cpp:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &K);
^
user.cpp:26:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int x; scanf("%d", &x);
^
user.cpp:30:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int answer; scanf("%d", &answer);
^
user.cpp: In function ‘int main()’:
user.cpp:36:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int x, y; scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | OK | 10 |
| 2 | 0ms | 288kb | Incorect | 0 |
| 3 | 0ms | 284kb | Incorect | 0 |
| 4 | 0ms | 284kb | OK | 10 |
| 5 | 0ms | 284kb | OK | 10 |
| 6 | 0ms | 288kb | OK | 10 |
| 7 | 4ms | 300kb | Incorect | 0 |
| 8 | 144ms | 1844kb | Incorect | 0 |
| 9 | 148ms | 1840kb | Incorect | 0 |
| 10 | 144ms | 1840kb | Incorect | 0 |
| Punctaj total | 40 |