Pagini recente » Borderou de evaluare (job #864913) | Borderou de evaluare (job #2308073) | Borderou de evaluare (job #2179193) | Borderou de evaluare (job #794335) | Borderou de evaluare (job #1913763)
Borderou de evaluare (job #1913763)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int, int)’:
user.cpp:26:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<vecin[nod].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:68:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<pot[i].size();j++){
^
user.cpp:83:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans.size();i++)
^
user.cpp:39:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("graf.in","r",stdin);
^
user.cpp:40:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("graf.out","w",stdout);
^
user.cpp:43:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d%d",&n,&m,&x,&y);
^
user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | OK | 10 |
2 | 0ms | 484kb | OK | 10 |
3 | 0ms | 484kb | OK | 10 |
4 | 0ms | 484kb | OK | 10 |
5 | 0ms | 484kb | OK | 10 |
6 | 12ms | 840kb | OK | 10 |
7 | 4ms | 608kb | OK | 10 |
8 | 8ms | 768kb | OK | 10 |
9 | 12ms | 820kb | OK | 10 |
10 | 12ms | 756kb | OK | 10 |
Punctaj total | 100 |