Borderou de evaluare (job #1790078)

Utilizator vladdy47Bucur Vlad Andrei vladdy47 Data 27 octombrie 2016 19:14:50
Problema Interesant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("interesant.in", "r", stdin); ^ user.cpp:22:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("interesant.out", "w", stdout); ^ user.cpp:24:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &type, &n); ^ user.cpp:31:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s[i] + 1); ^ user.cpp:65:23: 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 /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:31: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); ^ In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:65:23: /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/ccSmMy9U.o: In function `main': user.cpp:(.text.startup+0x9f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms1252kbOK.520
24ms1424kbOK.5
30ms588kbOK.5
40ms1096kbOK.5
50ms536kbOK.33
6176ms1264kbOK.33
70ms492kbOK.33
8100ms956kbOK.33
9604ms1424kbOK.44
10284ms1412kbOK.44
11504ms1304kbOK.44
12348ms1364kbNumar de siruri incorect.00
13380ms1392kbNumar de siruri incorect.00
14360ms1428kbOK.55
15428ms1428kbNumar de siruri incorect.00
16684ms1424kbNumar de siruri incorect.00
17576ms1416kbOK.55
18584ms1424kbNumar de siruri incorect.00
19568ms1424kbNumar de siruri incorect.00
20Depăşit1384kbTime limit exceeded.00
21Depăşit1392kbTime limit exceeded.00
22568ms1428kbOK.66
Punctaj total60

Ceva nu functioneaza?