Pagini recente » Borderou de evaluare (job #1489821) | Borderou de evaluare (job #95640) | Borderou de evaluare (job #1433442) | Borderou de evaluare (job #1501231) | Borderou de evaluare (job #1588295)
Borderou de evaluare (job #1588295)
Raport evaluator
Compilare:
user.cpp: In function ‘int tst(int, int, char)’:
user.cpp:61:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<v2.size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:77:35: 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:78:37: 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:79:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&p,&n,&m);
^
user.cpp:81:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(M[i]+1);
^
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:81:25:
/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/ccc8ScGc.o: In function `main':
user.cpp:(.text.startup+0x97): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 620kb | Corect! Varianta 1 | 5 |
2 | 0ms | 764kb | Corect! Varianta 1 | 5 |
3 | 0ms | 1148kb | Corect! Varianta 1 | 5 |
4 | 4ms | 1388kb | Corect! Varianta 1 | 5 |
5 | 20ms | 5260kb | Corect! Varianta 1 | 5 |
6 | 0ms | 332kb | Corect! Varianta 2 | 5 |
7 | 0ms | 532kb | Corect! Varianta 2 | 5 |
8 | 0ms | 524kb | Corect! Varianta 2 | 5 |
9 | 0ms | 612kb | Corect! Varianta 2 | 5 |
10 | 0ms | 612kb | Corect! Varianta 2 | 5 |
11 | 4ms | 772kb | Corect! Varianta 2 | 5 |
12 | 12ms | 1044kb | Corect! Varianta 2 | 5 |
13 | 24ms | 1768kb | Corect! Varianta 2 | 5 |
14 | 12ms | 1152kb | Corect! Varianta 2 | 5 |
15 | 28ms | 1312kb | Corect! Varianta 2 | 5 |
16 | 28ms | 1348kb | Corect! Varianta 2 | 5 |
17 | 28ms | 1384kb | Corect! Varianta 2 | 5 |
18 | 28ms | 1348kb | Corect! Varianta 2 | 5 |
19 | 48ms | 1744kb | Corect! Varianta 2 | 5 |
20 | 0ms | 332kb | Corect! Varianta 1 | 5 |
Punctaj total | 100 |