Borderou de evaluare (job #1762119)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 23 septembrie 2016 12:33:57
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/cc2h0iUG.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
1432ms76796kbIncorect!00
2576ms77216kbIncorect!0
3496ms76968kbIncorect!0
4Depăşit106836kbTime limit exceeded.00
5Depăşit107084kbTime limit exceeded.0
6Depăşit104036kbTime limit exceeded.00
7Depăşit103248kbTime limit exceeded.0
8Depăşit103604kbTime limit exceeded.0
9Depăşit94248kbTime limit exceeded.0
10Depăşit104820kbTime limit exceeded.0
11488msDepăşitMemory limit exceeded.00
Punctaj total0

Ceva nu functioneaza?