Pagini recente » Borderou de evaluare (job #910159) | Borderou de evaluare (job #2980741) | Borderou de evaluare (job #2746502) | Borderou de evaluare (job #436458) | Borderou de evaluare (job #1253631)
Borderou de evaluare (job #1253631)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(long int)’:
user.cpp:34:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<list[nod].size();i++){
^
user.cpp: In function ‘void Euler(long int)’:
user.cpp:42:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[nod].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:93:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans.size();i++)
^
user.cpp:97:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans.size();i++){
^
user.cpp:100:36: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<long int>::size_type {aka unsigned int}’ [-Wformat=]
printf("%ld ",ans[i].size());
^
user.cpp:101:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<ans[i].size();j++) printf("%ld ",ans[i][j]);
^
user.cpp:57:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("johnie.in","r",stdin);
^
user.cpp:58:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("johnie.out","w",stdout);
^
user.cpp:60:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
user.cpp:62:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1072kb | OK | 10 |
2 | 0ms | 1084kb | OK | 10 |
3 | 4ms | 1472kb | OK | 10 |
4 | 16ms | 2032kb | OK | 10 |
5 | 68ms | 5196kb | OK | 10 |
6 | 96ms | 6124kb | OK | 10 |
7 | 120ms | 7040kb | OK | 10 |
8 | 172ms | 9716kb | OK | 10 |
9 | 192ms | 10492kb | OK | 10 |
10 | 0ms | 1044kb | OK | 10 |
Punctaj total | 100 |