Pagini recente » Borderou de evaluare (job #415326) | Borderou de evaluare (job #646526) | Borderou de evaluare (job #1008453) | Borderou de evaluare (job #3188163) | Borderou de evaluare (job #2774509)
Borderou de evaluare (job #2774509)
Raport evaluator
Compilare:
main.cpp: In function 'std::tuple<int, int, int, int> get_answer(int, int)':
main.cpp:39:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < values.size(); i++){
~~^~~~~~~~~~~~~~~
main.cpp:49:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < values.size(); j++){
~~^~~~~~~~~~~~~~~
main.cpp: In function 'void setIO(std::__cxx11::string, bool, bool)':
main.cpp:7:51: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if(input) freopen(inputname.c_str(), "r", stdin);
^
main.cpp:8:54: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if(output) freopen(outputname.c_str(), "w", stdout);
^
main.cpp: In function 'int main()':
main.cpp:81:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:84:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &x);
^
main.cpp:90:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 262kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 4ms | 393kb | OK | 10 |
4 | 8ms | 524kb | OK | 10 |
5 | 8ms | 524kb | OK | 10 |
6 | 23ms | 917kb | OK | 10 |
7 | 28ms | 917kb | OK | 10 |
8 | 153ms | 2228kb | Time limit exceeded | 0 |
9 | 122ms | 2228kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 90 |