Pagini recente » Borderou de evaluare (job #2027832) | Borderou de evaluare (job #1614086) | Borderou de evaluare (job #1728694) | Borderou de evaluare (job #616300) | Borderou de evaluare (job #1848551)
Borderou de evaluare (job #1848551)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS()’:
user.cpp:26:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < a[x].size(); ++i)
^
user.cpp: In function ‘void Solve()’:
user.cpp:44:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0; j < a[i].size(); ++j)
^
user.cpp: In function ‘int main()’:
user.cpp:52:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reinvent.in","r",stdin);
^
user.cpp:53:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reinvent.out","w",stdout);
^
user.cpp:57:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&N,&M,&X);
^
user.cpp:60:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
user.cpp:65:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= X; ++i) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1444kb | OK | 10 |
2 | 0ms | 1436kb | OK | 10 |
3 | 0ms | 1484kb | OK | 10 |
4 | 12ms | 1796kb | OK | 10 |
5 | 68ms | 3016kb | OK | 10 |
6 | 80ms | 3048kb | OK | 10 |
7 | 116ms | 3892kb | OK | 10 |
8 | 124ms | 4060kb | OK | 10 |
9 | 116ms | 3892kb | OK | 10 |
10 | 112ms | 3932kb | OK | 10 |
Punctaj total | 100 |