Pagini recente » Borderou de evaluare (job #39863) | Borderou de evaluare (job #2672813) | Borderou de evaluare (job #2918621) | Borderou de evaluare (job #242822) | Borderou de evaluare (job #1691477)
Borderou de evaluare (job #1691477)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool Sarpe::corp(int, int)’:
user.cpp:160:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < segment.size(); i++)
^
user.cpp: In function ‘void coliziune_sarpe()’:
user.cpp:288:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < sarpe.segment.size(); i++)
^
user.cpp:293:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (s.coord = sarpe.coord[sarpe.tip])
^
user.cpp:286:6: warning: unused variable ‘sel’ [-Wunused-variable]
int sel = sarpe.tip;
^
user.cpp: In function ‘void coliziune_eveniment()’:
user.cpp:319:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = index[tip][iv]; i < ev[tip][iv].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:401:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("culegere.in", "r", stdin);
^
user.cpp:402:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("culegere.out", "w", stdout);
^
user.cpp:404:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:405:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:406:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:407:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &e);
^
user.cpp:445:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &eveniment.tip);
^
user.cpp:446:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &eveniment.coord[LINIE]);
^
user.cpp:447:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &eveniment.coord[COLOANA]);
^
user.cpp:448:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &eveniment.st);
^
user.cpp:449:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 12ms | 388kb | Incorect | 0 |
3 | 612ms | 6604kb | OK | 4 |
4 | Depăşit | 22128kb | Time limit exceeded. | 0 |
5 | 312ms | 12236kb | Incorect | 0 |
6 | 160ms | 7920kb | Incorect | 0 |
7 | 0ms | 288kb | OK | 4 |
8 | 232ms | 7844kb | OK | 4 |
9 | 0ms | 316kb | Incorect | 0 |
10 | 156ms | 6600kb | Incorect | 0 |
11 | Depăşit | 35440kb | Time limit exceeded. | 0 |
12 | 368ms | 13224kb | Incorect | 0 |
13 | 96ms | 528kb | Incorect | 0 |
14 | 0ms | 276kb | Incorect | 0 |
15 | 0ms | 268kb | Incorect | 0 |
16 | 0ms | 276kb | Incorect | 0 |
17 | 0ms | 268kb | OK | 4 |
18 | 0ms | 268kb | OK | 4 |
19 | 0ms | 304kb | Incorect | 0 |
20 | 0ms | 276kb | Incorect | 0 |
21 | 0ms | 272kb | Incorect | 0 |
22 | 0ms | 272kb | Incorect | 0 |
23 | 0ms | 272kb | OK | 4 |
24 | 0ms | 276kb | OK | 4 |
25 | 0ms | 272kb | OK | 4 |
Punctaj total | 32 |