Borderou de evaluare (job #2560677)

Utilizator cyg_SerbanBFlorin Gheorghe cyg_SerbanB Data 28 februarie 2020 10:40:42
Problema Aiacusarpe Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main(int, const char**)': main.cpp:12:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define max(a, b) ((a > b) ? a : b) main.cpp:48:22: lmax=max(poz.size(),lmax); ~~~~~~~~~~~~ main.cpp:48:18: note: in expansion of macro 'max' lmax=max(poz.size(),lmax); ^~~ main.cpp:12:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define max(a, b) ((a > b) ? a : b) main.cpp:54:22: lmax=max(poz.size(),lmax); ~~~~~~~~~~~~ main.cpp:54:18: note: in expansion of macro 'max' lmax=max(poz.size(),lmax); ^~~ main.cpp:19:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("aiacusarpe.in","r",stdin); ^ main.cpp:20:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("aiacusarpe.out","w",stdout); ^ main.cpp:21:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n",&n,&m,&t); ^ main.cpp:28:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
33ms131kbOK10
42ms131kbOK10
53ms131kbOK10
6177ms655kbOK10
7153ms1048kbOK10
8193ms1179kbOK10
9187ms9584kbOK10
102ms131kbOK10
Punctaj total100

Ceva nu functioneaza?