Borderou de evaluare (job #1457817)

Utilizator robertstrecheStreche Robert robertstreche Data 4 iulie 2015 15:24:27
Problema Triunghi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void solve1()’: user.cpp:38:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",au); ^ user.cpp: In function ‘void solve2()’: user.cpp:107:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",au); ^ user.cpp: In function ‘int main()’: user.cpp:113:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi5.in","r",stdin); ^ user.cpp:114:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi5.out","w",stdout); ^ user.cpp:116:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&type,&n,&m); ^ user.cpp: In function ‘void solve1()’: user.cpp:28:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp: In function ‘void solve2()’: user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbLungimi invalide in OUTPUT0
20ms264kbCorect5
30ms260kbCorect5
40ms264kbCorect5
50ms264kbCorect5
60ms260kbCorect5
70ms268kbCorect5
80ms248kbKilled by signal 11(SIGSEGV).0
90ms260kbLungimi invalide in OUTPUT0
100ms248kbKilled by signal 11(SIGSEGV).0
110ms248kbKilled by signal 11(SIGSEGV).0
120ms248kbKilled by signal 11(SIGSEGV).0
130ms252kbKilled by signal 11(SIGSEGV).0
140ms264kbLungimi invalide in OUTPUT0
150ms248kbKilled by signal 11(SIGSEGV).0
160ms268kbLungimi invalide in OUTPUT0
170ms264kbLungimi invalide in OUTPUT0
180ms268kbLungimi invalide in OUTPUT0
190ms268kbLungimi invalide in OUTPUT0
200ms264kbLungimi invalide in OUTPUT0
Punctaj total30

Ceva nu functioneaza?