Pagini recente » Borderou de evaluare (job #2946763) | Borderou de evaluare (job #3225308) | Borderou de evaluare (job #2275155) | Borderou de evaluare (job #2060809) | Borderou de evaluare (job #2444684)
Borderou de evaluare (job #2444684)
Raport evaluator
Compilare:
main.cpp: In constructor 'Solver::Solver(std::__cxx11::string&&, std::__cxx11::string&&)':
main.cpp:20:9: warning: unused variable 'fout' [-Wunused-variable]
FILE* fout = fopen(out.c_str(), "w");
^~~~
main.cpp: In constructor 'Solver::Solver(std::__cxx11::string&&, std::__cxx11::string&&)':
main.cpp:26:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &N, &Q);
^
main.cpp:31:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &ancestors[i]);
^
main.cpp:41:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &X, &P);
^
main.cpp:100:24: warning: 'ancestor' may be used uninitialized in this function [-Wmaybe-uninitialized]
int power = __lg(P), ancestor;
^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Raspuns gresit! | 0 |
| 2 | 4ms | 131kb | Raspuns gresit! | 0 |
| 3 | 11ms | 262kb | Raspuns gresit! | 0 |
| 4 | 43ms | 1179kb | Raspuns gresit! | 0 |
| 5 | 55ms | 1179kb | Raspuns gresit! | 0 |
| 6 | 199ms | 4063kb | Raspuns gresit! | 0 |
| 7 | 187ms | 7860kb | Raspuns gresit! | 0 |
| 8 | 341ms | 12181kb | Raspuns gresit! | 0 |
| 9 | 703ms | 22413kb | Time limit exceeded | 0 |
| 10 | 702ms | 27525kb | Time limit exceeded | 0 |
| Punctaj total | 0 |