Borderou de evaluare (job #662739)

Utilizator avatar ASN4999K Nuta Alexandru ASN4999K IP ascuns
Problemă Subsecvență circulară de sumă maximă Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 sept. 2022 10:13:23 Scor 70

Raport evaluator

Compilare: main.cpp:449:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 449 | #import<fstream> | ^~~~~~ main.cpp: In member function 'int BigInt::operator[](int) const': main.cpp:120:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 120 | if(digits.size() <= index || index < 0) | ~~~~~~~~~~~~~~^~~~~~~~ main.cpp: In function 'BigInt& operator/=(BigInt&, const BigInt&)': main.cpp:287:24: warning: unused variable 'm' [-Wunused-variable] 287 | int n = Length(a), m = Length(b); | ^ main.cpp: In function 'BigInt& operator%=(BigInt&, const BigInt&)': main.cpp:325:24: warning: unused variable 'm' [-Wunused-variable] 325 | int n = Length(a), m = Length(b); | ^ main.cpp: At global scope: main.cpp:451:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 451 | main() | ^~~~ main.cpp: In function 'int main()': main.cpp:455:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 455 | freopen("scsm.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:456:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 456 | freopen("scsm.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 110 kb OK 10
4 1 ms 114 kb OK 10
5 8 ms 118 kb OK 10
6 30 ms 118 kb OK 10
7 76 ms 118 kb OK 10
8 200 ms 118 kb Time limit exceeded 0
9 208 ms 118 kb Time limit exceeded 0
10 202 ms 118 kb Time limit exceeded 0
Punctaj total 70