Pagini recente » Borderou de evaluare (job #230953) | Borderou de evaluare (job #3212658) | Borderou de evaluare (job #1366393) | Borderou de evaluare (job #1285292) | Borderou de evaluare (job #1757504)
Borderou de evaluare (job #1757504)
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/ccwAvxF5.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 | 480kb | OK | 10 |
2 | 0ms | 472kb | OK | 10 |
3 | 4ms | 480kb | OK | 10 |
4 | 8ms | 488kb | OK | 10 |
5 | 8ms | 484kb | OK | 10 |
6 | 16ms | 484kb | OK | 10 |
7 | 40ms | 500kb | Incorect | 0 |
8 | 76ms | 504kb | Incorect | 0 |
9 | 200ms | 512kb | Incorect | 0 |
10 | 196ms | 512kb | Incorect | 0 |
Punctaj total | 60 |