Pagini recente » Borderou de evaluare (job #456215) | Borderou de evaluare (job #261313) | Borderou de evaluare (job #2881390) | Borderou de evaluare (job #2315944) | Borderou de evaluare (job #2581422)
Borderou de evaluare (job #2581422)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:15:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++){
~^~~~~~~~~~~~~~
main.cpp:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++){
~^~~~~~~~~~~~~~
main.cpp:39:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<g[nod].size(); j++){
~^~~~~~~~~~~~~~
main.cpp:44:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j!=g[nod].size()-1)
~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:60:19: warning: unused variable 'sum' [-Wunused-variable]
int n,k,i,x,y,sum=0;
^~~
main.cpp:58:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("karb2.in", "r", stdin);
^
main.cpp:59:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("karb2.out", "w", stdout);
^
main.cpp:61:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:63:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:67:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 10ms | 3670kb | OK | 10 |
2 | 10ms | 3670kb | OK | 10 |
3 | 10ms | 3670kb | OK | 10 |
4 | 10ms | 3670kb | OK | 10 |
5 | 11ms | 3801kb | OK | 10 |
6 | 11ms | 3801kb | OK | 10 |
7 | 66ms | 5111kb | OK | 10 |
8 | 133ms | 6553kb | OK | 10 |
9 | 173ms | 7471kb | OK | 10 |
10 | 208ms | 8519kb | OK | 10 |
Punctaj total | 100 |