Pagini recente » Borderou de evaluare (job #2045546) | Borderou de evaluare (job #1482799) | Borderou de evaluare (job #789642) | Borderou de evaluare (job #2502425) | Borderou de evaluare (job #1707699)
Borderou de evaluare (job #1707699)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:84:37: 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:85:39: 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:88:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d%d\n", &v, &n, &m);
^
user.cpp:90:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i]+1);
^
user.cpp:236:42: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d\n%c", maxi, maxj, f);
^
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:90: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/cc43Yr70.o: In function `main':
user.cpp:(.text.startup+0x8d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 572kb | Corect! Varianta 1 | 5 |
2 | 0ms | 656kb | Corect! Varianta 1 | 5 |
3 | 0ms | 1120kb | Corect! Varianta 1 | 5 |
4 | 4ms | 1352kb | Corect! Varianta 1 | 5 |
5 | 24ms | 10136kb | Corect! Varianta 1 | 5 |
6 | 0ms | 328kb | Corect! Varianta 2 | 5 |
7 | 0ms | 472kb | Corect! Varianta 2 | 5 |
8 | 0ms | 464kb | Corect! Varianta 2 | 5 |
9 | 0ms | 564kb | Corect! Varianta 2 | 5 |
10 | 0ms | 564kb | Corect! Varianta 2 | 5 |
11 | 0ms | 732kb | Corect! Varianta 2 | 5 |
12 | 4ms | 1028kb | Corect! Varianta 2 | 5 |
13 | 8ms | 1716kb | Corect! Varianta 2 | 5 |
14 | 4ms | 1144kb | Corect! Varianta 2 | 5 |
15 | 8ms | 1420kb | Corect! Varianta 2 | 5 |
16 | 8ms | 1456kb | Corect! Varianta 2 | 5 |
17 | 8ms | 1508kb | Corect! Varianta 2 | 5 |
18 | 8ms | 1460kb | Corect! Varianta 2 | 5 |
19 | 16ms | 1988kb | Corect! Varianta 2 | 5 |
20 | 0ms | 332kb | Corect! Varianta 1 | 5 |
Punctaj total | 100 |