Pagini recente » Borderou de evaluare (job #3167634) | Borderou de evaluare (job #445086) | Borderou de evaluare (job #1737246) | Borderou de evaluare (job #333566) | Borderou de evaluare (job #1644736)
Borderou de evaluare (job #1644736)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in","r",stdin);
^
user.cpp:21:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:22:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
nA=n; gets(a);
^
user.cpp:43:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
{ gets(a); N=0;
^
user.cpp:59:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:63:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
{ gets(a); N=0;
^
user.cpp:75:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out","w",stdout);
^
/tmp/cc2dlTYj.o: In function `main':
user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK | 10 |
2 | 0ms | 424kb | OK | 10 |
3 | 0ms | 672kb | OK | 10 |
4 | 4ms | 2004kb | OK | 10 |
5 | 8ms | 4656kb | OK | 10 |
6 | 28ms | 13004kb | OK | 10 |
7 | 32ms | 13760kb | OK | 10 |
8 | 44ms | 18092kb | OK | 10 |
9 | 68ms | 30244kb | OK | 10 |
10 | 48ms | 20768kb | OK | 10 |
Punctaj total | 100 |