Pagini recente » Borderou de evaluare (job #3175887) | Borderou de evaluare (job #1767703) | Borderou de evaluare (job #1737976) | Borderou de evaluare (job #69210) | Borderou de evaluare (job #1707636)
Borderou de evaluare (job #1707636)
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/cc9IHgJu.o: In function `main':
user.cpp:(.text.startup+0x9c): 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 | 648kb | Corect! Varianta 1 | 5 |
3 | 0ms | 1116kb | Corect! Varianta 1 | 5 |
4 | 4ms | 1352kb | Corect! Varianta 1 | 5 |
5 | 24ms | 10136kb | Corect! Varianta 1 | 5 |
6 | 0ms | 328kb | Gresit! | 0 |
7 | 0ms | 476kb | Corect! Varianta 2 | 5 |
8 | 0ms | 464kb | Corect! Varianta 2 | 5 |
9 | 0ms | 568kb | Corect! Varianta 2 | 5 |
10 | 0ms | 564kb | Corect! Varianta 2 | 5 |
11 | 0ms | 736kb | Corect! Varianta 2 | 5 |
12 | 4ms | 1036kb | Gresit! | 0 |
13 | 8ms | 1720kb | Gresit! | 0 |
14 | 4ms | 1144kb | Corect! Varianta 2 | 5 |
15 | 8ms | 1420kb | Corect! Varianta 2 | 5 |
16 | 8ms | 1456kb | Gresit! | 0 |
17 | 8ms | 1512kb | Gresit! | 0 |
18 | 8ms | 1464kb | Corect! Varianta 2 | 5 |
19 | 12ms | 1988kb | Gresit! | 0 |
20 | 0ms | 328kb | Corect! Varianta 1 | 5 |
Punctaj total | 70 |