Pagini recente » Borderou de evaluare (job #2002789) | Borderou de evaluare (job #2038954) | Borderou de evaluare (job #1490512) | Borderou de evaluare (job #2876008) | Borderou de evaluare (job #1938411)
Borderou de evaluare (job #1938411)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS()’:
user.cpp:21:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<G[nod].size();i++)
^
user.cpp: In function ‘void BFSi()’:
user.cpp:39:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<iG[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:51:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in","r",stdin);
^
user.cpp:52:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out","w",stdout);
^
user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:56:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:60:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:66:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK! | 10 |
2 | 0ms | 296kb | OK! | 10 |
3 | 0ms | 300kb | OK! | 10 |
4 | 0ms | 288kb | OK! | 10 |
5 | 8ms | Depăşit | Memory limit exceeded. | 0 |
6 | 8ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | 296kb | OK! | 10 |
8 | 12ms | Depăşit | Memory limit exceeded. | 0 |
9 | 8ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 288kb | OK! | 10 |
Punctaj total | 60 |