Pagini recente » Borderou de evaluare (job #192578) | Borderou de evaluare (job #1856647) | Borderou de evaluare (job #445618) | Borderou de evaluare (job #231018) | Borderou de evaluare (job #1516906)
Borderou de evaluare (job #1516906)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("barbar.in","r",stdin);
^
user.cpp:13:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("barbar.out","w",stdout);
^
user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m); gets(s[0]);
^
user.cpp:14:33: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m); gets(s[0]);
^
user.cpp:17:17: 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 user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:17:17:
/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/ccI7DiHr.o: In function `main':
user.cpp:(.text.startup+0xc8): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 4348kb | Ok! | 10 |
2 | 4ms | 4316kb | Ok! | 10 |
3 | 4ms | 4348kb | Ok! | 10 |
4 | 4ms | 4400kb | Ok! | 10 |
5 | 8ms | 4884kb | Ok! | 10 |
6 | 8ms | 4892kb | Ok! | 10 |
7 | 36ms | 6100kb | Ok! | 10 |
8 | 84ms | 7392kb | Ok! | 10 |
9 | 292ms | 11024kb | Ok! | 10 |
10 | 4ms | 4512kb | Ok! | 10 |
Punctaj total | 100 |