Borderou de evaluare (job #1439971)

Utilizator UAIC_PojogaMazareanuPopaUAIC Pojoga Mazareanu Popa UAIC_PojogaMazareanuPopa Data 23 mai 2015 10:57:33
Problema Parola Status done
Runda ACM-ICPC Faza Nationala 2015-2016 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < strlen(text); ++i){ ^ user.cpp:26:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(infile, "r", stdin); ^ user.cpp:27:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(outfile, "w", stdout); ^ user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (scanf("%d", &T); T; --T){ ^ user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &K); ^ user.cpp:32:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(text); ^ /tmp/ccxReI88.o: In function `main': user.cpp:(.text.startup+0xa4): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1380kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?