Pagini recente » Borderou de evaluare (job #2391008) | Borderou de evaluare (job #18092) | Borderou de evaluare (job #3241102) | Borderou de evaluare (job #2752877) | Borderou de evaluare (job #1757503)
Borderou de evaluare (job #1757503)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("conexiuni.in", "r", stdin);
^
user.cpp:13:29: 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:14:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
user.cpp:15:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:49:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("conexiuni.out", "w", stdout);
^
/tmp/cccP1OMw.o: In function `read()':
user.cpp:(.text+0x7c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | OK | 10 |
2 | 0ms | 476kb | OK | 10 |
3 | 4ms | 472kb | OK | 10 |
4 | 8ms | 488kb | OK | 10 |
5 | 8ms | 488kb | OK | 10 |
6 | 16ms | 488kb | OK | 10 |
7 | 44ms | 496kb | Incorect | 0 |
8 | 76ms | 504kb | Incorect | 0 |
9 | 196ms | 512kb | Incorect | 0 |
10 | 200ms | 512kb | Incorect | 0 |
Punctaj total | 60 |