Pagini recente » Borderou de evaluare (job #1731614) | Borderou de evaluare (job #3277178) | Borderou de evaluare (job #2420635) | Borderou de evaluare (job #1492723) | Borderou de evaluare (job #1583092)
Borderou de evaluare (job #1583092)
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/ccDukIqG.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 | 340kb | OK | 5 | 10 |
2 | 0ms | 336kb | OK | 5 |
3 | 0ms | 336kb | Incorect | 0 | 0 |
4 | 0ms | 336kb | OK | 5 |
5 | 0ms | 388kb | OK | 5 | 10 |
6 | 0ms | 380kb | OK | 5 |
7 | 32ms | 1080kb | OK | 5 | 10 |
8 | 48ms | 1080kb | OK | 5 |
9 | 192ms | 3664kb | OK | 5 | 10 |
10 | 420ms | 3660kb | OK | 5 |
11 | 316ms | 5324kb | OK | 5 | 10 |
12 | 744ms | 5328kb | OK | 5 |
13 | 204ms | 6944kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
14 | 196ms | 6944kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 232ms | 7788kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
16 | 228ms | 7780kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 256ms | 8544kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
18 | 252ms | 8536kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 256ms | 8536kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
20 | 252ms | 8544kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 50 |