Pagini recente » Borderou de evaluare (job #613294) | Borderou de evaluare (job #3292799) | Borderou de evaluare (job #2846409) | Borderou de evaluare (job #260783) | Borderou de evaluare (job #2774502)
Borderou de evaluare (job #2774502)
Raport evaluator
Compilare:
main.cpp: In function 'std::tuple<int, int, int, int> get_answer(int, int)':
main.cpp:40:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < values.size(); i++){
~~^~~~~~~~~~~~~~~
main.cpp:50: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:85:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:88:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &x);
^
main.cpp:93:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 393kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 4ms | 393kb | OK | 10 |
4 | 8ms | 524kb | OK | 10 |
5 | 8ms | 524kb | OK | 10 |
6 | 23ms | 1048kb | OK | 10 |
7 | 28ms | 1048kb | OK | 10 |
8 | 152ms | 2228kb | Time limit exceeded | 0 |
9 | 125ms | 2228kb | OK | 10 |
10 | 3ms | 262kb | OK | 10 |
Punctaj total | 90 |