Pagini recente » Borderou de evaluare (job #2982487) | Borderou de evaluare (job #1348067) | Borderou de evaluare (job #947916) | Borderou de evaluare (job #1509327) | Borderou de evaluare (job #2774511)
Borderou de evaluare (job #2774511)
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:80:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:83:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &x);
^
main.cpp:89: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 | 7ms | 524kb | OK | 10 |
5 | 7ms | 524kb | OK | 10 |
6 | 23ms | 917kb | OK | 10 |
7 | 20ms | 917kb | OK | 10 |
8 | 142ms | 2359kb | OK | 10 |
9 | 90ms | 2228kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |