Pagini recente » Borderou de evaluare (job #2285829) | Borderou de evaluare (job #2752695) | Borderou de evaluare (job #3272137) | Borderou de evaluare (job #2366736) | Borderou de evaluare (job #1339797)
Borderou de evaluare (job #1339797)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:16:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<g[i].size(); ++j){
^
user.cpp: In function ‘void bfst(int)’:
user.cpp:30:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<gt[i].size(); ++j){
^
user.cpp: In function ‘int main()’:
user.cpp:39:34: 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:41:36: 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:42:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:43:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; ++i)scanf("%d", &d[i]);
^
user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m[i]);
^
user.cpp:47:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK! | 10 |
2 | 0ms | 276kb | OK! | 10 |
3 | 0ms | 280kb | OK! | 10 |
4 | 0ms | 280kb | OK! | 10 |
5 | 4ms | Depăşit | Memory limit exceeded. | 0 |
6 | 4ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | 284kb | OK! | 10 |
8 | 8ms | Depăşit | Memory limit exceeded. | 0 |
9 | 4ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 272kb | OK! | 10 |
Punctaj total | 60 |