Pagini recente » Borderou de evaluare (job #1352433) | Borderou de evaluare (job #3276420) | Borderou de evaluare (job #1646093) | Borderou de evaluare (job #1772105) | Borderou de evaluare (job #1764957)
Borderou de evaluare (job #1764957)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int secv(int)’:
user.cpp:84:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<=n;++i)
^
user.cpp: In function ‘char getChar(FILE*)’:
user.cpp:14:58: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(pos == BUF_SIZE) pos=0, fread(buf, 1, BUF_SIZE, f);
^
user.cpp: In function ‘unsigned int getInt(FILE*)’:
user.cpp:22:21: warning: ‘c’ is used uninitialized in this function [-Wuninitialized]
while(!isdigit(c)) c=getChar(f);
^
user.cpp: In function ‘int main()’:
user.cpp:22:21: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:20:10: note: ‘c’ was declared here
char c;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 20ms | 16632kb | OK | 10 |
| 2 | 24ms | 16716kb | OK | 10 |
| 3 | 32ms | 16928kb | OK | 10 |
| 4 | 52ms | 17912kb | OK | 10 |
| 5 | 48ms | 18164kb | OK | 10 |
| 6 | 156ms | 20008kb | OK | 10 |
| 7 | 356ms | 21700kb | OK | 10 |
| 8 | 428ms | 21960kb | OK | 10 |
| 9 | 668ms | 26628kb | OK | 10 |
| 10 | 1604ms | 31228kb | OK | 10 |
| Punctaj total | 100 |