Pagini recente » Borderou de evaluare (job #2024112) | Borderou de evaluare (job #1103970) | Borderou de evaluare (job #2430430) | Borderou de evaluare (job #404484) | Borderou de evaluare (job #1251693)
Borderou de evaluare (job #1251693)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:15: warning: variable ‘left’ set but not used [-Wunused-but-set-variable]
int n, i, left, right, ans;
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("granita.in", "r", stdin);
^
user.cpp:26:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("granita.out", "w", stdout);
^
user.cpp:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp: In member function ‘void SEGM::read()’:
user.cpp:12:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 4ms | 352kb | OK | 10 |
4 | 8ms | 396kb | OK | 10 |
5 | 8ms | 396kb | OK | 10 |
6 | 8ms | 396kb | OK | 10 |
7 | 8ms | 396kb | OK | 10 |
8 | 8ms | 396kb | OK | 10 |
9 | 8ms | 396kb | OK | 10 |
10 | 8ms | 408kb | OK | 10 |
Punctaj total | 100 |