Borderou de evaluare (job #1469600)

Utilizator DrumeaVDrumea Vasile DrumeaV Data 8 august 2015 20:55:49
Problema Secventa 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:49:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (D.size() > U) ^ user.cpp:52:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (D.size() >= L) ^ user.cpp:61:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (D.size() >= L) ^ user.cpp:65:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (D.size() >= L) ^ user.cpp:30:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv3.in","r",stdin); ^ user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv3.out","w",stdout); ^ user.cpp:33:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&N,&L,&U); ^ user.cpp:36:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&C[i]); ^ user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&T[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbWrong answer!0
20ms304kbWrong answer!0
30ms308kbWrong answer!0
40ms320kbWrong answer!0
50ms364kbWrong answer!0
64ms408kbWrong answer!0
78ms460kbWrong answer!0
88ms468kbWrong answer!0
912ms556kbWrong answer!0
1012ms568kbOK!10
Punctaj total10

Ceva nu functioneaza?