Pagini recente » Borderou de evaluare (job #2738160) | Borderou de evaluare (job #368846) | Borderou de evaluare (job #2211250) | Borderou de evaluare (job #2303638) | Borderou de evaluare (job #1707659)
Borderou de evaluare (job #1707659)
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/cceXkcSn.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 | 580kb | Corect! Varianta 1 | 5 |
2 | 0ms | 656kb | Corect! Varianta 1 | 5 |
3 | 0ms | 1120kb | Corect! Varianta 1 | 5 |
4 | 4ms | 1360kb | Corect! Varianta 1 | 5 |
5 | 20ms | 10140kb | Corect! Varianta 1 | 5 |
6 | 0ms | 324kb | Corect! Varianta 2 | 5 |
7 | 0ms | 484kb | Corect! Varianta 2 | 5 |
8 | 0ms | 468kb | Corect! Varianta 2 | 5 |
9 | 0ms | 572kb | Corect! Varianta 2 | 5 |
10 | 0ms | 568kb | Corect! Varianta 2 | 5 |
11 | 0ms | 744kb | Corect! Varianta 2 | 5 |
12 | 4ms | 1040kb | Gresit! | 0 |
13 | 8ms | 1720kb | Gresit! | 0 |
14 | 4ms | 1148kb | Corect! Varianta 2 | 5 |
15 | 8ms | 1424kb | Corect! Varianta 2 | 5 |
16 | 8ms | 1460kb | Gresit! | 0 |
17 | 8ms | 1508kb | Gresit! | 0 |
18 | 8ms | 1472kb | Corect! Varianta 2 | 5 |
19 | 12ms | 1992kb | Gresit! | 0 |
20 | 0ms | 328kb | Corect! Varianta 1 | 5 |
Punctaj total | 75 |