Pagini recente » Borderou de evaluare (job #1564579) | Borderou de evaluare (job #130561) | Borderou de evaluare (job #2732833) | Borderou de evaluare (job #2898346) | Borderou de evaluare (job #1707677)
Borderou de evaluare (job #1707677)
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/ccrC6aHN.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 | 564kb | Corect! Varianta 1 | 5 |
| 2 | 0ms | 640kb | Corect! Varianta 1 | 5 |
| 3 | 0ms | 1108kb | Corect! Varianta 1 | 5 |
| 4 | 4ms | 1348kb | Corect! Varianta 1 | 5 |
| 5 | 24ms | 10124kb | Corect! Varianta 1 | 5 |
| 6 | 0ms | 316kb | Corect! Varianta 2 | 5 |
| 7 | 0ms | 472kb | Corect! Varianta 2 | 5 |
| 8 | 0ms | 452kb | Corect! Varianta 2 | 5 |
| 9 | 0ms | 556kb | Corect! Varianta 2 | 5 |
| 10 | 0ms | 560kb | Corect! Varianta 2 | 5 |
| 11 | 0ms | 728kb | Corect! Varianta 2 | 5 |
| 12 | 4ms | 1020kb | Corect! Varianta 2 | 5 |
| 13 | 8ms | 1704kb | Corect! Varianta 2 | 5 |
| 14 | 4ms | 1132kb | Corect! Varianta 2 | 5 |
| 15 | 8ms | 1412kb | Corect! Varianta 2 | 5 |
| 16 | 8ms | 1448kb | Corect! Varianta 2 | 5 |
| 17 | 8ms | 1504kb | Corect! Varianta 2 | 5 |
| 18 | 8ms | 1452kb | Corect! Varianta 2 | 5 |
| 19 | 16ms | 1976kb | Gresit! | 0 |
| 20 | 0ms | 320kb | Corect! Varianta 1 | 5 |
| Punctaj total | 95 |