Pagini recente » Borderou de evaluare (job #2743627) | Borderou de evaluare (job #878242) | Borderou de evaluare (job #2222970) | Borderou de evaluare (job #2297080) | Borderou de evaluare (job #1785523)
Borderou de evaluare (job #1785523)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(int)’:
user.cpp:14:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<vec[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:65:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<=vec[i].size();j++)
^
user.cpp: In function ‘int calcul(int)’:
user.cpp:42:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amici2.in","r",stdin);
^
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amici2.out","w",stdout);
^
user.cpp:48:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:51:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:54:32: 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 | 0ms | 584kb | Incorect | 0 |
2 | 4ms | 640kb | Incorect | 0 |
3 | 4ms | 636kb | Incorect | 0 |
4 | 20ms | 964kb | Incorect | 0 |
5 | 64ms | 1872kb | Incorect | 0 |
6 | 80ms | 2132kb | Incorect | 0 |
7 | 76ms | 2084kb | Incorect | 0 |
8 | 100ms | 2308kb | Incorect | 0 |
9 | 92ms | 2432kb | Incorect | 0 |
10 | 120ms | 2712kb | Incorect | 0 |
Punctaj total | 0 |