Borderou de evaluare (job #1762105)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 23 septembrie 2016 12:19:26
Problema Gravity Status done
Runda Algoritmiada 2016 Runda Finala Seniors Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:68:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gravity.in", "r", stdin); ^ user.cpp:69:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gravity.out", "w", stdout); ^ user.cpp:71:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int n, m; scanf("%d%d\n", &n, &m); ^ user.cpp:73:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(mat[i] + 3); ^ 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:73:25: /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/ccMLpTNu.o: In function `main': user.cpp:(.text.startup+0x81): warning: the `gets' function is dangerous and should not be used.
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1428ms76792kbIncorect!00
2576ms77216kbIncorect!0
3492ms76964kbIncorect!0
4Depăşit106836kbTime limit exceeded.00
5Depăşit107076kbTime limit exceeded.0
6Depăşit104032kbTime limit exceeded.00
7Depăşit103244kbTime limit exceeded.0
8Depăşit103596kbTime limit exceeded.0
9Depăşit94248kbTime limit exceeded.0
10Depăşit104820kbTime limit exceeded.0
11484msDepăşitMemory limit exceeded.00
Punctaj total0

Ceva nu functioneaza?