Pagini recente » Borderou de evaluare (job #1965929) | Borderou de evaluare (job #683682) | Borderou de evaluare (job #116765) | Borderou de evaluare (job #1815760) | Borderou de evaluare (job #1335010)
Borderou de evaluare (job #1335010)
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:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
user.cpp:74:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
/tmp/ccMHQiNa.o: In function `main':
user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 9328kb | OK | 10 |
2 | 24ms | 9528kb | OK | 10 |
3 | 48ms | 9828kb | OK | 10 |
4 | 168ms | 10280kb | OK | 10 |
5 | 396ms | 10716kb | OK | 10 |
6 | 528ms | 11024kb | OK | 10 |
7 | 652ms | 11152kb | OK | 10 |
8 | 876ms | 11364kb | OK | 10 |
9 | 928ms | 11440kb | OK | 10 |
10 | 932ms | 11444kb | OK | 10 |
Punctaj total | 100 |