Pagini recente » Borderou de evaluare (job #2046910) | Borderou de evaluare (job #1293523) | Borderou de evaluare (job #1164621) | Borderou de evaluare (job #1838622) | Borderou de evaluare (job #2335092)
Borderou de evaluare (job #2335092)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:14:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'void solve(int)':
main.cpp:30:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:52:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[ii1].size(); i++)
~^~~~~~~~~~~~~~
main.cpp:57:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[ii2].size(); i++)
~^~~~~~~~~~~~~~
main.cpp:39:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("mvc.in", "r",stdin);
^
main.cpp:40:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mvc.out", "w",stdout);
^
main.cpp:43:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:45:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
main.cpp:47:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 3014kb | Incorect | 0 |
2 | 8ms | 3014kb | OK | 10 |
3 | 8ms | 3014kb | OK | 10 |
4 | 9ms | 3145kb | OK | 10 |
5 | 19ms | 3407kb | Incorect | 0 |
6 | 35ms | 4063kb | Incorect | 0 |
7 | 120ms | 5767kb | Incorect | 0 |
8 | 273ms | 8519kb | Incorect | 0 |
9 | 277ms | 11403kb | Incorect | 0 |
10 | 238ms | 5373kb | OK | 10 |
Punctaj total | 40 |