Pagini recente » Borderou de evaluare (job #2134381) | Borderou de evaluare (job #1676465) | Borderou de evaluare (job #824641) | Borderou de evaluare (job #23871) | Borderou de evaluare (job #1839274)
Borderou de evaluare (job #1839274)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59: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:60: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:64:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
user.cpp:65:28: 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:67:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:67:23:
/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/ccMKaTb7.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 | 656kb | Corect! Varianta 1 | 5 |
2 | 0ms | 720kb | Corect! Varianta 1 | 5 |
3 | 0ms | 1000kb | Corect! Varianta 1 | 5 |
4 | 4ms | 1272kb | Corect! Varianta 1 | 5 |
5 | 20ms | 6228kb | Corect! Varianta 1 | 5 |
6 | 0ms | 476kb | Corect! Varianta 2 | 5 |
7 | 0ms | 580kb | Corect! Varianta 2 | 5 |
8 | 0ms | 572kb | Gresit! | 0 |
9 | 0ms | 652kb | Gresit! | 0 |
10 | 0ms | 652kb | Gresit! | 0 |
11 | 0ms | 780kb | Gresit! | 0 |
12 | 4ms | 1012kb | Gresit! | 0 |
13 | 12ms | 1544kb | Gresit! | 0 |
14 | 4ms | 1100kb | Gresit! | 0 |
15 | 12ms | 1336kb | Corect! Varianta 2 | 5 |
16 | 12ms | 1364kb | Corect! Varianta 2 | 5 |
17 | 12ms | 1388kb | Gresit! | 0 |
18 | 12ms | 1352kb | Gresit! | 0 |
19 | 20ms | 1840kb | Gresit! | 0 |
20 | 0ms | 476kb | Corect! Varianta 1 | 5 |
Punctaj total | 50 |