Pagini recente » Borderou de evaluare (job #977331) | Borderou de evaluare (job #817325) | Borderou de evaluare (job #2335531) | Borderou de evaluare (job #1725117) | Borderou de evaluare (job #1750908)
Borderou de evaluare (job #1750908)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53: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:54: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);
^
user.cpp:55:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:58:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:63:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&m);
^
user.cpp:66:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccYtzIYY.o: In function `main':
user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 512kb | OK | 10 |
3 | 0ms | 604kb | OK | 10 |
4 | 0ms | 1132kb | OK | 10 |
5 | 4ms | 1996kb | OK | 10 |
6 | 4ms | 2108kb | OK | 10 |
7 | 12ms | 5884kb | OK | 10 |
8 | 16ms | 6248kb | OK | 10 |
9 | 16ms | 6468kb | OK | 10 |
10 | 16ms | 6008kb | OK | 10 |
Punctaj total | 100 |