Pagini recente » Borderou de evaluare (job #2852840) | Borderou de evaluare (job #357409) | Borderou de evaluare (job #352196) | Borderou de evaluare (job #692470) | Borderou de evaluare (job #1277234)
Borderou de evaluare (job #1277234)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:127:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("rama.in", "r", stdin);
^
user.cpp:128:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("rama.out", "w", stdout);
^
user.cpp:130:26: 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:132:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (A[i]+1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:132:18:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccNxGsfY.o: In function `main':
user.cpp:(.text.startup+0x8d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 860kb | Incorect | 0 |
2 | 4ms | 2740kb | Incorect | 0 |
3 | 4ms | 3804kb | Incorect | 0 |
4 | 16ms | 7336kb | Incorect | 0 |
5 | 12ms | 8392kb | Incorect | 0 |
6 | 12ms | 8280kb | Incorect | 0 |
7 | 20ms | 8512kb | Incorect | 0 |
8 | 12ms | 8512kb | Incorect | 0 |
9 | 12ms | 8516kb | Incorect | 0 |
10 | 16ms | 8512kb | Incorect | 0 |
Punctaj total | 0 |