Pagini recente » Borderou de evaluare (job #850706) | Borderou de evaluare (job #1300459) | Borderou de evaluare (job #659694) | Borderou de evaluare (job #2341000) | Borderou de evaluare (job #1253621)
Borderou de evaluare (job #1253621)
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:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<std::vector<long int> >::size_type {aka unsigned int}’ [-Wformat=]
printf("%ld\n",ans.size());
^
user.cpp:94:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans.size();i++){
^
user.cpp:95: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:96: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 | 1068kb | OK | 10 |
2 | 0ms | 1084kb | Numar de etape incorect! | 0 |
3 | 4ms | 1476kb | OK | 10 |
4 | 16ms | 2036kb | Numar de etape incorect! | 0 |
5 | 72ms | 5192kb | OK | 10 |
6 | 96ms | 6120kb | Numar de etape incorect! | 0 |
7 | 116ms | 7036kb | Numar de etape incorect! | 0 |
8 | 176ms | 9464kb | Numar de etape incorect! | 0 |
9 | 196ms | 10264kb | Numar de etape incorect! | 0 |
10 | 0ms | 1044kb | OK | 10 |
Punctaj total | 40 |