Pagini recente » Borderou de evaluare (job #342734) | Borderou de evaluare (job #1420040) | Borderou de evaluare (job #2486731) | Borderou de evaluare (job #1760631) | Borderou de evaluare (job #2449603)
Borderou de evaluare (job #2449603)
Raport evaluator
Compilare:
main.cpp: In function 'void read()':
main.cpp:40:26: warning: array subscript has type 'char' [-Wchar-subscripts]
graph[chartoint[x]].push_back(chartoint[y]);
^
main.cpp:40:50: warning: array subscript has type 'char' [-Wchar-subscripts]
graph[chartoint[x]].push_back(chartoint[y]);
^
main.cpp:41:27: warning: array subscript has type 'char' [-Wchar-subscripts]
bgraph[chartoint[y]].push_back(chartoint[x]);
^
main.cpp:41:51: warning: array subscript has type 'char' [-Wchar-subscripts]
bgraph[chartoint[y]].push_back(chartoint[x]);
^
main.cpp:42:25: warning: array subscript has type 'char' [-Wchar-subscripts]
++in[chartoint[y]];
^
main.cpp:43:26: warning: array subscript has type 'char' [-Wchar-subscripts]
++out[chartoint[x]];
^
main.cpp:44:17: warning: array subscript has type 'char' [-Wchar-subscripts]
exists[x]=exists[y]=true;
^
main.cpp:44:27: warning: array subscript has type 'char' [-Wchar-subscripts]
exists[x]=exists[y]=true;
^
main.cpp:25:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("path.in", "r", stdin);
^
main.cpp:26:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &n, &m, &k);
^
main.cpp:39:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c%c%c", &x, &e, &y); fgetc(stdin);
^
main.cpp: In function 'void write()':
main.cpp:65:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("path.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 3ms | 131kb | OK | 10 |
7 | 3ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 |
9 | 3ms | 131kb | OK | 10 |
10 | 4ms | 131kb | OK | 10 |
Punctaj total | 100 |