Borderou de evaluare (job #1727423)

Utilizator mirupetPetcan Miruna mirupet Data 10 iulie 2016 19:10:41
Problema Tort3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:18: warning: statement has no effect [-Wunused-value] for (LMax; LMax > 0; LMax--) ^ user.cpp:37:13: warning: unused variable ‘L’ [-Wunused-variable] int L = LMax; ^ user.cpp:16:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &N, &M); ^ user.cpp:20:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S[i] + 1); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:20:27: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/ccXDPsso.o: In function `main': user.cpp:(.text.startup+0x4f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbOK5
20ms292kbOK5
30ms356kbOK5
40ms356kbOK5
50ms324kbOK5
60ms364kbOK5
7148ms1512kbOK5
8164ms1508kbOK5
9180ms1480kbOK5
10116ms1260kbOK5
11144ms1460kbOK5
1264ms1140kbOK5
13108ms1304kbOK5
14152ms1464kbOK5
15164ms1508kbOK5
16124ms1404kbOK5
17148ms1508kbOK5
18116ms1336kbOK5
19128ms1396kbOK5
20160ms1504kbOK5
Punctaj total100

Ceva nu functioneaza?