Pagini recente » Borderou de evaluare (job #2316867) | Borderou de evaluare (job #1314867) | Borderou de evaluare (job #776981) | Borderou de evaluare (job #3194400) | Borderou de evaluare (job #1335015)
Borderou de evaluare (job #1335015)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.in","r",stdin);
^
user.cpp:43:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.out","w",stdout);
^
user.cpp:44:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
user.cpp:46:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:68:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bemo.in","r",stdin);
^
user.cpp:70:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&x,&y);
^
user.cpp:72:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cciBqmod.o: In function `main':
user.cpp:(.text.startup+0x8e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 9324kb | OK | 10 |
2 | 16ms | 9528kb | OK | 10 |
3 | 24ms | 9824kb | OK | 10 |
4 | 76ms | 10280kb | OK | 10 |
5 | 160ms | 10708kb | OK | 10 |
6 | 224ms | 11024kb | OK | 10 |
7 | 292ms | 11148kb | OK | 10 |
8 | 436ms | 11356kb | OK | 10 |
9 | 444ms | 11440kb | OK | 10 |
10 | 488ms | 11440kb | OK | 10 |
Punctaj total | 100 |