Borderou de evaluare (job #1820317)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ferma3.in","r",stdin);
^
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ferma3.out","w",stdout);
^
user.cpp:36:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tip);
^
user.cpp:37:26: 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:39:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v[i]+1);
^
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:39:21:
/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/cccp5RJO.o: In function `main':
user.cpp:(.text.startup+0x9d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 516kb | Corect! Varianta 1 | 5 |
2 | 176ms | Depăşit | Memory limit exceeded. | 0 |
3 | 152ms | Depăşit | Memory limit exceeded. | 0 |
4 | 36ms | 1252kb | Corect! Varianta 1 | 5 |
5 | 104ms | Depăşit | Memory limit exceeded. | 0 |
6 | 4ms | 504kb | Linie in afara matricei | 0 |
7 | 4ms | 460kb | Linie in afara matricei | 0 |
8 | 0ms | 432kb | Coloana in afara matricei | 0 |
9 | 0ms | 532kb | Linie in afara matricei | 0 |
10 | 0ms | 536kb | Linie in afara matricei | 0 |
11 | 4ms | 720kb | Linie in afara matricei | 0 |
12 | 64ms | 1128kb | Linie in afara matricei | 0 |
13 | 132ms | 1884kb | Linie in afara matricei | 0 |
14 | Depăşit | 3052kb | Time limit exceeded. | 0 |
15 | Depăşit | 1604kb | Time limit exceeded. | 0 |
16 | Depăşit | 1832kb | Time limit exceeded. | 0 |
17 | Depăşit | 2112kb | Time limit exceeded. | 0 |
18 | Depăşit | 1576kb | Time limit exceeded. | 0 |
19 | 44ms | 2312kb | Coloana in afara matricei | 0 |
20 | 4ms | 504kb | Corect! Varianta 1 | 5 |
Punctaj total | 15 |