Borderou de evaluare (job #1440045)

Utilizator UAIC_PojogaMazareanuPopaUAIC Pojoga Mazareanu Popa UAIC_PojogaMazareanuPopa Data 23 mai 2015 11:13:17
Problema Teme 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:45:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",solution); ^ 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/cclzZ0MB.o: In function `main': user.cpp:(.text.startup+0xa1): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms372kbFisier de iesire lipsa0
Punctaj total0

Ceva nu functioneaza?