Pagini recente » Borderou de evaluare (job #187848) | Cod sursa (job #3205243) | Borderou de evaluare (job #2812652) | Borderou de evaluare (job #966064) | Borderou de evaluare (job #2028175)
Borderou de evaluare (job #2028175)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii.in","r",stdin);
^
user.cpp:40:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii.out","w",stdout);
^
user.cpp:42:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:44:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(c);
^
/tmp/ccjQiZcm.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 | 288kb | Incorect | 0 |
2 | 0ms | 284kb | Incorect | 0 |
3 | 0ms | 284kb | Incorect | 0 |
4 | 0ms | 288kb | Incorect | 0 |
5 | 8ms | 284kb | Incorect | 0 |
6 | 12ms | 288kb | Incorect | 0 |
7 | 72ms | 288kb | Incorect | 0 |
8 | 92ms | 288kb | Incorect | 0 |
9 | 72ms | 288kb | Incorect | 0 |
10 | 84ms | 288kb | Incorect | 0 |
Punctaj total | 0 |