Borderou de evaluare (job #1467415)

Utilizator theprdvtheprdv theprdv Data 3 august 2015 13:08:07
Problema Substr Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:52:30: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] if (r >= K) maxx = 1 << i - 1 << 1; ^ user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("substr.in", "r", stdin); ^ user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("substr.out", "w", stdout); ^ user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &N, &K); ^ user.cpp:31:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(A); ^ /tmp/ccgWGIwB.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms352kbKilled by signal 6(SIGABRT).0
20ms352kbKilled by signal 6(SIGABRT).0
30ms356kbKilled by signal 6(SIGABRT).0
48ms580kbIncorect0
548ms1416kbIncorect0
648ms1416kbIncorect0
70ms276kbOK10
80ms372kbOK10
90ms372kbIncorect0
1036ms1208kbIncorect0
Punctaj total20

Ceva nu functioneaza?