Pagini recente » Borderou de evaluare (job #3040088) | Borderou de evaluare (job #434614) | Borderou de evaluare (job #547679) | Borderou de evaluare (job #657877) | Borderou de evaluare (job #2269918)
Borderou de evaluare (job #2269918)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:43:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d\n",&n,&q);
^
main.cpp:45:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(ch+1,320005,fin);
^
main.cpp:67:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&l,&r);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:45:27:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 131kb | OK | 5 | 20 |
2 | 4ms | 131kb | OK | 5 |
3 | 4ms | 131kb | OK | 5 |
4 | 4ms | 131kb | OK | 5 |
5 | 55ms | 1032kb | OK | 5 | 20 |
6 | 56ms | 1044kb | OK | 5 |
7 | 56ms | 962kb | OK | 5 |
8 | 55ms | 917kb | OK | 5 |
9 | 65ms | 1429kb | OK | 5 | 20 |
10 | 65ms | 1449kb | OK | 5 |
11 | 67ms | 1691kb | OK | 5 |
12 | 65ms | 1363kb | OK | 5 |
13 | 228ms | 2244kb | OK | 5 | 20 |
14 | 209ms | 1982kb | OK | 5 |
15 | 202ms | 2027kb | OK | 5 |
16 | 228ms | 2150kb | OK | 5 |
17 | 371ms | 5730kb | OK | 5 | 20 |
18 | 382ms | 6062kb | OK | 5 |
19 | 371ms | 5865kb | OK | 5 |
20 | 366ms | 5668kb | OK | 5 |
Punctaj total | 100 |