Borderou de evaluare (job #1965732)

Utilizator akaprosAna Kapros akapros Data 14 aprilie 2017 16:21:49
Problema Tort3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:90:29: 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:92:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[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:92: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/cczc9zlP.o: In function `main': user.cpp:(.text.startup+0x4d): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms516kbOK5
20ms504kbOK5
30ms672kbOK5
40ms668kbOK5
50ms596kbOK5
60ms672kbOK5
7Depăşit3592kbTime limit exceeded.0
8Depăşit3600kbTime limit exceeded.0
9Depăşit3544kbTime limit exceeded.0
10Depăşit2960kbTime limit exceeded.0
11Depăşit3476kbTime limit exceeded.0
12Depăşit2664kbTime limit exceeded.0
13Depăşit3084kbTime limit exceeded.0
14Depăşit3476kbTime limit exceeded.0
15Depăşit3600kbTime limit exceeded.0
16Depăşit3336kbTime limit exceeded.0
17Depăşit3592kbTime limit exceeded.0
18Depăşit3168kbTime limit exceeded.0
19Depăşit3304kbTime limit exceeded.0
20Depăşit3588kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?