Pagini recente » Borderou de evaluare (job #143224) | Borderou de evaluare (job #153863) | Borderou de evaluare (job #1683965) | Borderou de evaluare (job #3215863) | Borderou de evaluare (job #1684992)
Borderou de evaluare (job #1684992)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mz.in","r",stdin);
^
user.cpp:22:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mz.out","w",stdout);
^
user.cpp:23:27: 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:25:21: 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:25:21:
/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/ccsHLolk.o: In function `main':
user.cpp:(.text.startup+0x87): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 360kb | Ok! | 10 |
2 | 0ms | 560kb | Ok! | 10 |
3 | 0ms | 828kb | Ok! | 10 |
4 | 0ms | 800kb | Ok! | 10 |
5 | 40ms | 2536kb | Ok! | 10 |
6 | 48ms | 2340kb | Ok! | 10 |
7 | 12ms | 840kb | Ok! | 10 |
8 | 208ms | 5432kb | Ok! | 10 |
9 | 188ms | 5444kb | Ok! | 10 |
10 | 220ms | 5436kb | Ok! | 10 |
Punctaj total | 100 |