Pagini recente » Borderou de evaluare (job #462273) | Borderou de evaluare (job #2182449) | Borderou de evaluare (job #285241) | Borderou de evaluare (job #1180523) | Borderou de evaluare (job #1949276)
Borderou de evaluare (job #1949276)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, x, y, idx;
^
user.cpp:55:15: warning: unused variable ‘x’ [-Wunused-variable]
int i, j, x, y, idx;
^
user.cpp:55:18: warning: unused variable ‘y’ [-Wunused-variable]
int i, j, x, y, idx;
^
user.cpp:52:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hapsan.in", "r", stdin);
^
user.cpp:53:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hapsan.out", "w", stdout);
^
user.cpp:58:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:60:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i].value);
^
user.cpp:66:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:68:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &ing[i].left, &ing[i].right);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 316kb | OK | 10 |
2 | 0ms | 336kb | OK | 10 |
3 | 4ms | 428kb | OK | 10 |
4 | 96ms | 1660kb | OK | 10 |
5 | 264ms | 5756kb | OK | 10 |
6 | 0ms | 336kb | OK | 10 |
7 | 4ms | 396kb | OK | 10 |
8 | 144ms | 2480kb | OK | 10 |
9 | 332ms | 5752kb | OK | 10 |
10 | 336ms | 5756kb | OK | 10 |
Punctaj total | 100 |