Borderou de evaluare (job #2106848)

Utilizator DjokValeriu Motroi Djok Data 16 ianuarie 2018 12:35:48
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘std::string getNextString()’: user.cpp:12:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %s", c); ^ user.cpp: In function ‘int main()’: user.cpp:25:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sobo.in", "r", stdin); ^ user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sobo.out", "w", stdout); ^ user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &l); ^ user.cpp:30:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i = 0; i < l; ++i) scanf("%d", cost + i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbCool!10
20ms464kbCool!10
30ms472kbCool!10
460ms480kbCool!10
568ms504kbCool!10
6320ms540kbCool!10
7Depăşit580kbTime limit exceeded.0
8Depăşit564kbTime limit exceeded.0
9Depăşit692kbTime limit exceeded.0
10Depăşit696kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?