Pagini recente » Borderou de evaluare (job #2146471) | Borderou de evaluare (job #879339) | Borderou de evaluare (job #149891) | Borderou de evaluare (job #2787287) | Borderou de evaluare (job #1583095)
Borderou de evaluare (job #1583095)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool MyComp::operator()(const CODE&, const CODE&)’:
user.cpp:19:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
return A.c1 < B.c1 || (A.c1 == B.c1 && A.c2 < B.c2 || (A.c1 == B.c1 && A.c2 == B.c2 && A.c2 == -1 && A.ind > B.ind));
^
user.cpp: In function ‘int main()’:
user.cpp:40:12: warning: unused variable ‘lim’ [-Wunused-variable]
int l, lim, i, j, x, y, k, num, m, per, bucati, peri;
^
user.cpp:42:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("perioada.in", "r", stdin);
^
user.cpp:43:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("perioada.out", "w", stdout);
^
user.cpp:45:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &n);
^
user.cpp:46:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (a);
^
user.cpp:70:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &m);
^
user.cpp:72:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &x, &y);
^
/tmp/ccI9JOGt.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 336kb | OK | 5 | 10 |
2 | 0ms | 340kb | OK | 5 |
3 | 0ms | 344kb | Incorect | 0 | 0 |
4 | 0ms | 344kb | OK | 5 |
5 | 0ms | 384kb | OK | 5 | 10 |
6 | 0ms | 384kb | OK | 5 |
7 | 32ms | 1076kb | OK | 5 | 10 |
8 | 48ms | 1080kb | OK | 5 |
9 | 188ms | 3660kb | OK | 5 | 10 |
10 | 420ms | 3656kb | OK | 5 |
11 | 316ms | 5332kb | OK | 5 | 10 |
12 | 748ms | 5328kb | OK | 5 |
13 | 488ms | 7292kb | OK | 5 | 10 |
14 | 1460ms | 7296kb | OK | 5 |
15 | 564ms | 8176kb | OK | 5 | 0 |
16 | Depăşit | 8168kb | Time limit exceeded. | 0 |
17 | 668ms | 8960kb | OK | 5 | 0 |
18 | Depăşit | 8956kb | Time limit exceeded. | 0 |
19 | 668ms | 8964kb | OK | 5 | 0 |
20 | Depăşit | 8960kb | Time limit exceeded. | 0 |
Punctaj total | 60 |