Borderou de evaluare (job #1761132)

Utilizator delta_wolfAndrei Stoica delta_wolf Data 21 septembrie 2016 20:29:54
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/ccwXUUXV.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
10ms484kbOK10
20ms500kbOK10
30ms496kbOK10
4Depăşit956kbTime limit exceeded.0
520ms2016kbOK10
6Depăşit1096kbTime limit exceeded.0
74ms1100kbKilled by signal 6(SIGABRT).0
84ms1100kbKilled by signal 6(SIGABRT).0
94ms1092kbKilled by signal 6(SIGABRT).0
104ms1100kbKilled by signal 6(SIGABRT).0
Punctaj total40

Ceva nu functioneaza?