Pagini recente » Borderou de evaluare (job #1666128) | Borderou de evaluare (job #1961665) | Borderou de evaluare (job #2500502) | Borderou de evaluare (job #2183432) | Borderou de evaluare (job #1420332)
Borderou de evaluare (job #1420332)
Raport evaluator
Compilare:
user.cpp: In function ‘punct get()’:
user.cpp:32:17: warning: NULL used in arithmetic [-Wpointer-arith]
while(s[j]!=NULL){
^
user.cpp: In function ‘int main()’:
user.cpp:108:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d\n",&n);
^
user.cpp:110:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,25,fin);
^
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* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:110:24:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1252kb | Wrong | 0 |
2 | 4ms | 1268kb | Wrong | 0 |
3 | 8ms | 1268kb | Wrong | 0 |
4 | 16ms | 1384kb | Okay | 10 |
5 | 52ms | 1728kb | Okay | 10 |
6 | 64ms | 1964kb | Wrong | 0 |
7 | 112ms | 2088kb | Wrong | 0 |
8 | 136ms | 2084kb | Wrong | 0 |
9 | 140ms | 2196kb | Wrong | 0 |
10 | 192ms | 2436kb | Wrong | 0 |
Punctaj total | 20 |