Pagini recente » Borderou de evaluare (job #511655) | Borderou de evaluare (job #2614935) | Borderou de evaluare (job #23313) | Borderou de evaluare (job #2667365) | Borderou de evaluare (job #1859746)
Borderou de evaluare (job #1859746)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:38:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[x].size(); i++)
^
user.cpp: In function ‘void rezolvare()’:
user.cpp:50:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < G[S[i]].size(); j++)
^
user.cpp:56:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < S.size(); i++)
^
user.cpp:60:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < Gp[S[i]].size(); j++)
^
user.cpp: In function ‘void citire()’:
user.cpp:18: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);
^
user.cpp:19: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:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:22:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &C[i]);
^
user.cpp:25:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:28:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK! | 10 |
2 | 0ms | 432kb | OK! | 10 |
3 | 0ms | 444kb | OK! | 10 |
4 | 0ms | 432kb | OK! | 10 |
5 | 0ms | 500kb | OK! | 10 |
6 | 0ms | 492kb | OK! | 10 |
7 | 0ms | 436kb | OK! | 10 |
8 | 0ms | 452kb | OK! | 10 |
9 | 0ms | 452kb | OK! | 10 |
10 | 0ms | 436kb | OK! | 10 |
Punctaj total | 100 |