Borderou de evaluare (job #1857329)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 26 ianuarie 2017 01:27:45
Problema Mesaje Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:63:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[30005]’ [-Wformat=] ok = scanf("%s", &s); ^ user.cpp:28:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mesaje.in", "r", stdin); ^ user.cpp:29:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mesaje.out", "w", stdout); ^ user.cpp:32:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ /tmp/cc34HwUE.o: In function `main': user.cpp:(.text.startup+0x61): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit2048kbTime limit exceeded.0
20ms820kbCorect10
30ms836kbCorect10
44ms840kbCorect10
50ms840kbCorect10
60ms836kbCorect10
752ms868kbCorect10
8100msDepăşitMemory limit exceeded.0
9Depăşit960kbTime limit exceeded.0
10Depăşit940kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?