Borderou de evaluare (job #2744529)

Utilizator wildcolaSTEFAN PLACINTESCU wildcola Data 24 aprilie 2021 20:06:36
Problema Sea Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:27:34: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=] scanf("%lf %ld", &x, &fni); ^ main.cpp:34:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(q.size() < fni) ~~~~~~~~~^~~~~ main.cpp:12:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sea.in", "r", stdin); ^ main.cpp:13:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sea.out", "w", stdout); ^ main.cpp:17:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ main.cpp:21:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf", &x, &y); ^ main.cpp:27:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %ld", &x, &fni); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
256ms131kbOK10
3498ms393kbOK10
4242ms524kbOK10
5560ms393kbIncorect0
6603ms262kbTime limit exceeded0
7600ms262kbTime limit exceeded0
8603ms524kbTime limit exceeded0
9601ms262kbTime limit exceeded0
103ms131kbOK10
Punctaj total50

Ceva nu functioneaza?