Pagini recente » Borderou de evaluare (job #2222058) | Borderou de evaluare (job #146986) | Borderou de evaluare (job #2610332) | Borderou de evaluare (job #413520) | Borderou de evaluare (job #1479228)
Borderou de evaluare (job #1479228)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:116:9: warning: unused variable ‘h’ [-Wunused-variable]
int h = n * m;
^
user.cpp:79:35: 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:81:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d\n",&n,&m);
^
user.cpp:83:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(c[i] + 1);
^
user.cpp:133:27: warning: ‘finish’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return fo << dp[finish] << '\n',0;
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:83:23:
/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/ccrF6uqt.o: In function `main':
user.cpp:(.text.startup+0x9c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 12800kb | Ok! | 10 |
2 | 16ms | 12772kb | Ok! | 10 |
3 | 20ms | 12808kb | Ok! | 10 |
4 | 20ms | 12868kb | Ok! | 10 |
5 | 60ms | 13692kb | Ok! | 10 |
6 | 52ms | 13692kb | Wrong answer! | 0 |
7 | Depăşit | 18120kb | Time limit exceeded. | 0 |
8 | Depăşit | 25984kb | Time limit exceeded. | 0 |
9 | Depăşit | 55232kb | Time limit exceeded. | 0 |
10 | 24ms | 13588kb | Wrong answer! | 0 |
Punctaj total | 50 |