Pagini recente » Borderou de evaluare (job #2295632) | Borderou de evaluare (job #3185378) | Borderou de evaluare (job #3002276) | Borderou de evaluare (job #146042) | Borderou de evaluare (job #2698154)
Borderou de evaluare (job #2698154)
Raport evaluator
Compilare:
main.cpp: In function 'int eFlux()':
main.cpp:26:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < vec[a].size(); i++) {
~~^~~~~~~~~~~~~~~
main.cpp: In function 'void verif1(int)':
main.cpp:48:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < vec[a].size(); i++) {
~~^~~~~~~~~~~~~~~
main.cpp: In function 'void verif2(int)':
main.cpp:63:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < vec[a].size(); i++) {
~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:115:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", sol.size());
^
main.cpp:116:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < sol.size(); i++) {
~~^~~~~~~~~~~~
main.cpp:74:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.in", "r", stdin);
^
main.cpp:75:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.out", "w", stdout);
^
main.cpp:76:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:79:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Okay! | 10 |
2 | 2ms | 131kb | Okay! | 10 |
3 | 3ms | 393kb | Okay! | 10 |
4 | 3ms | 524kb | Okay! | 10 |
5 | 4ms | 917kb | Okay! | 10 |
6 | 13ms | 655kb | Okay! | 10 |
7 | 27ms | 1048kb | Okay! | 10 |
8 | 25ms | 1310kb | Okay! | 10 |
9 | 43ms | 1048kb | Okay! | 10 |
10 | 23ms | 4456kb | Okay! | 10 |
Punctaj total | 100 |