Pagini recente » Borderou de evaluare (job #1702807) | Borderou de evaluare (job #1923278) | Borderou de evaluare (job #1842544) | Borderou de evaluare (job #399601) | Borderou de evaluare (job #1423984)
Borderou de evaluare (job #1423984)
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:109: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:111: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:111: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 | 8ms | 1260kb | Wrong | 0 |
2 | 4ms | 1268kb | Wrong | 0 |
3 | 4ms | 1272kb | Wrong | 0 |
4 | 16ms | 1380kb | Okay | 10 |
5 | 44ms | 1732kb | Okay | 10 |
6 | 56ms | 1964kb | Wrong | 0 |
7 | 88ms | 2084kb | Wrong | 0 |
8 | 108ms | 2080kb | Wrong | 0 |
9 | 108ms | 2200kb | Wrong | 0 |
10 | 160ms | 2440kb | Wrong | 0 |
Punctaj total | 20 |