Pagini recente » Borderou de evaluare (job #2917332) | Borderou de evaluare (job #2696962)
Borderou de evaluare (job #2696962)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:151:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adunare2.in","r",stdin);
^
main.cpp:152:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adunare2.out","w",stdout);
^
main.cpp:154:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&q);
^
main.cpp:162:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&i,&j,&c);
^
main.cpp: In constructor 'SegmentTree::SegmentTree(int)':
main.cpp:114:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(tmp + 1,NMAX + 5,stdin);
^
main.cpp:119:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(tmp + 1,NMAX + 5,stdin);
^
main.cpp:124:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(tmp + 1,NMAX + 5,stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 4ms | 131kb | OK | 10 |
4 | 6ms | 262kb | OK | 10 |
5 | 6ms | 262kb | OK | 10 |
6 | 88ms | 1835kb | OK | 10 |
7 | 158ms | 3670kb | OK | 10 |
8 | 277ms | 5373kb | OK | 10 |
9 | 408ms | 7024kb | OK | 10 |
10 | 476ms | 8912kb | OK | 10 |
Punctaj total | 100 |