Pagini recente » Borderou de evaluare (job #2585951) | Borderou de evaluare (job #201778) | Borderou de evaluare (job #1156961) | Borderou de evaluare (job #2813654) | Borderou de evaluare (job #1447059)
Borderou de evaluare (job #1447059)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("base3.in","r",stdin);
^
user.cpp:58:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("base3.out","w",stdout);
^
user.cpp:62:23: 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:62: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/ccwgvrUB.o: In function `main':
user.cpp:(.text.startup+0x68): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 888kb | OK | 5 |
2 | 0ms | 632kb | OK | 5 |
3 | 0ms | 632kb | OK | 5 |
4 | 0ms | 640kb | OK | 5 |
5 | 0ms | 628kb | OK | 5 |
6 | 0ms | 636kb | OK | 5 |
7 | 0ms | 656kb | OK | 5 |
8 | 0ms | 680kb | OK | 5 |
9 | 0ms | 644kb | OK | 5 |
10 | 4ms | 668kb | OK | 5 |
11 | 4ms | 652kb | OK | 5 |
12 | 0ms | 676kb | OK | 5 |
13 | 12ms | 716kb | OK | 5 |
14 | 8ms | 668kb | OK | 5 |
15 | 24ms | 684kb | OK | 5 |
16 | 20ms | 696kb | OK | 5 |
17 | 20ms | 704kb | OK | 5 |
18 | 20ms | 696kb | OK | 5 |
19 | 24ms | 704kb | OK | 5 |
20 | 8ms | 668kb | OK | 5 |
Punctaj total | 100 |