Borderou de evaluare (job #1761131)

Utilizator delta_wolfAndrei Stoica delta_wolf Data 21 septembrie 2016 20:29:01
Problema Triunghi3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<strlen(v);i++) ^ user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi3.in","r",stdin); ^ user.cpp:15:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi3.out","w",stdout); ^ user.cpp:16:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:17:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(v); ^ /tmp/ccopEkGn.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms476kbOK10
20ms496kbOK10
30ms488kbOK10
4Depăşit948kbTime limit exceeded.0
520ms2008kbOK10
6Depăşit1088kbTime limit exceeded.0
74ms1092kbKilled by signal 6(SIGABRT).0
84ms1092kbKilled by signal 6(SIGABRT).0
94ms1096kbKilled by signal 6(SIGABRT).0
104ms1092kbKilled by signal 6(SIGABRT).0
Punctaj total40

Ceva nu functioneaza?