Pagini recente » Borderou de evaluare (job #1376432) | Borderou de evaluare (job #615291) | Borderou de evaluare (job #2241101) | Borderou de evaluare (job #326382) | Borderou de evaluare (job #1519912)
Borderou de evaluare (job #1519912)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:26: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f, "%lld" , &n);
^
user.cpp:43:44: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld\n",a[dr]-a[st]+1);
^
user.cpp:45:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld\n",a[dr]-a[st]);
^
user.cpp:11:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%lld" , &n);
^
user.cpp:38:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%ld" , &x);
^
user.cpp:41:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%ld%ld" , &st,&dr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 4ms | 436kb | OK | 10 |
3 | 0ms | 476kb | OK | 10 |
4 | 0ms | 500kb | OK | 10 |
5 | 28ms | 492kb | OK | 10 |
6 | 60ms | 824kb | OK | 10 |
7 | 76ms | 984kb | OK | 10 |
8 | 84ms | 2196kb | OK | 10 |
9 | 92ms | 2312kb | OK | 10 |
10 | 96ms | 2388kb | OK | 10 |
Punctaj total | 100 |