Borderou de evaluare (job #1613034)

Utilizator mirupetPetcan Miruna mirupet Data 25 februarie 2016 10:27:03
Problema Taxa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:25:70: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d\n", &start.x, &start.y, &finish.x, &finish.y); ^ user.cpp:28:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(v[i] + 2); ^ 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:28: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/cc8L1PGq.o: In function `main': user.cpp:(.text.startup+0x75): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms364kbOK10
24ms708kbOK10
30ms688kbOK10
424ms1004kbOK10
50ms800kbOK10
60ms796kbOK10
74ms1524kbOK10
8Depăşit4232kbTime limit exceeded.0
9Depăşit5420kbTime limit exceeded.0
10Depăşit7616kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?