Borderou de evaluare (job #1801438)

Utilizator Alexa2001Alexa Tudose Alexa2001 Data 8 noiembrie 2016 23:26:58
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:53:20: error: 'gets' was not declared in this scope gets(A[i]+1); ^ main.cpp:47:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.in", "r", stdin); ^ main.cpp:48:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.out", "w", stdout); ^ main.cpp:50:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &n, &m, &q); ^ main.cpp:75:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d\n", &xi, &yi, &xf, &yf); ^ Non zero exit status: 1
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms12540kbRaspuns gresit!0
216ms12908kbRaspuns gresit!0
328ms14688kbRaspuns gresit!0
448ms16932kbRaspuns gresit!0
5124ms24388kbRaspuns gresit!0
6132ms25308kbRaspuns gresit!0
7140ms26164kbRaspuns gresit!0
8156ms27840kbRaspuns gresit!0
9156ms27532kbRaspuns gresit!0
10152ms27444kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?