Pagini recente » Borderou de evaluare (job #1012797) | Borderou de evaluare (job #2396026) | Borderou de evaluare (job #2035857) | Borderou de evaluare (job #1662134) | Borderou de evaluare (job #1624914)
Borderou de evaluare (job #1624914)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.in", "r", stdin);
^
user.cpp:16:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
user.cpp:18: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:102:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.out", "w", stdout);
^
user.cpp:103:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:106:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(q + 1);
^
/tmp/cccD8V6M.o: In function `read()':
user.cpp:(.text+0x9d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | Incorect | 0 |
2 | 0ms | 428kb | Incorect | 0 |
3 | 0ms | 432kb | Incorect | 0 |
4 | 0ms | 432kb | Incorect | 0 |
5 | 0ms | 436kb | Incorect | 0 |
6 | 0ms | 436kb | Incorect | 0 |
7 | 0ms | 428kb | Incorect | 0 |
8 | 4ms | 436kb | Incorect | 0 |
9 | 4ms | 432kb | Incorect | 0 |
10 | 0ms | 432kb | Incorect | 0 |
Punctaj total | 0 |