Pagini recente » Borderou de evaluare (job #745985) | Borderou de evaluare (job #933133) | Borderou de evaluare (job #1005415) | Borderou de evaluare (job #178171) | Borderou de evaluare (job #1480352)
Borderou de evaluare (job #1480352)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:26: warning: integer overflow in expression [-Woverflow]
#define INF ((1 << 31) - 1)
^
user.cpp:73:29: note: in expansion of macro ‘INF’
start = minim = INF;
^
user.cpp:8:26: warning: integer overflow in expression [-Woverflow]
#define INF ((1 << 31) - 1)
^
user.cpp:74:23: note: in expansion of macro ‘INF’
finish = -INF;
^
user.cpp:38:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in","r",stdin);
^
user.cpp:39:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out","w",stdout);
^
user.cpp:41:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &N, &M);
^
user.cpp:44:44: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S), v[i].x = S, v[i].y = i;
^
user.cpp:71:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
user.cpp:78:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &X);
^
/tmp/cclN5xxv.o: In function `main':
user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 496kb | Killed by signal 6(SIGABRT). | 0 |
2 | 0ms | 496kb | Killed by signal 6(SIGABRT). | 0 |
3 | 20ms | 440kb | OK | 5 |
4 | 20ms | 432kb | OK | 5 |
5 | 20ms | 436kb | OK | 5 |
6 | 20ms | 432kb | OK | 5 |
7 | 196ms | 512kb | OK | 5 |
8 | 196ms | 512kb | OK | 5 |
9 | 196ms | 516kb | OK | 5 |
10 | 0ms | 496kb | Killed by signal 6(SIGABRT). | 0 |
11 | 0ms | 496kb | Killed by signal 6(SIGABRT). | 0 |
12 | 0ms | 496kb | Killed by signal 6(SIGABRT). | 0 |
13 | 0ms | 492kb | Killed by signal 6(SIGABRT). | 0 |
14 | 0ms | 496kb | Killed by signal 6(SIGABRT). | 0 |
15 | 0ms | 496kb | Killed by signal 6(SIGABRT). | 0 |
16 | 172ms | 868kb | OK | 5 |
17 | 296ms | 868kb | OK | 5 |
18 | 292ms | 868kb | OK | 5 |
19 | 296ms | 864kb | OK | 5 |
20 | 296ms | 860kb | OK | 5 |
Punctaj total | 60 |