Pagini recente » Borderou de evaluare (job #1685119) | Borderou de evaluare (job #1448230) | Borderou de evaluare (job #2769070) | Borderou de evaluare (job #1448582) | Borderou de evaluare (job #1542562)
Borderou de evaluare (job #1542562)
Raport evaluator
Compilare:
user.cpp: In function ‘void readData()’:
user.cpp:34:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:37:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:4:
In function ‘char* gets(char*)’,
inlined from ‘void readData()’ at user.cpp:37:23:
/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/ccLMYByR.o: In function `readData()':
user.cpp:(.text+0x34): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK! | 10 |
2 | 0ms | 472kb | OK! | 10 |
3 | 0ms | 492kb | OK! | 10 |
4 | 0ms | 492kb | OK! | 10 |
5 | 0ms | 788kb | OK! | 10 |
6 | 0ms | 748kb | OK! | 10 |
7 | 20ms | 2208kb | OK! | 10 |
8 | 108ms | 10288kb | OK! | 10 |
9 | 32ms | 2372kb | OK! | 10 |
10 | 216ms | 19880kb | OK! | 10 |
Punctaj total | 100 |