Pagini recente » Borderou de evaluare (job #1175280) | Cod sursa (job #3231753) | Borderou de evaluare (job #2521708) | Borderou de evaluare (job #2576323) | Borderou de evaluare (job #2523863)
Borderou de evaluare (job #2523863)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:15:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[u].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:59:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < T[ord[i]].size() ; j ++)
~~^~~~~~~~~~~~~~~~~~
main.cpp:69:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[ord[i]].size() ; j ++)
~~^~~~~~~~~~~~~~~~~~
main.cpp:26:36: 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);
^
main.cpp:27:38: 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);
^
main.cpp:29:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
main.cpp:31:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &v[i]);
^
main.cpp:34:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &m);
^
main.cpp:37:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 2ms | 131kb | OK! | 10 |
4 | 2ms | 131kb | OK! | 10 |
5 | 4ms | 131kb | OK! | 10 |
6 | 4ms | 131kb | OK! | 10 |
7 | 2ms | 131kb | OK! | 10 |
8 | 3ms | 131kb | OK! | 10 |
9 | 3ms | 131kb | OK! | 10 |
10 | 2ms | 131kb | OK! | 10 |
Punctaj total | 100 |