Pagini recente » Borderou de evaluare (job #181167) | Borderou de evaluare (job #2943860) | Borderou de evaluare (job #6681) | Borderou de evaluare (job #3125990) | Borderou de evaluare (job #1559117)
Borderou de evaluare (job #1559117)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d %d",&N,&K);
^
user.cpp:9:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:11:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
{fscanf(f,"%d",&a);S+=a;}
^
user.cpp:30:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",C[S-1]);
^
user.cpp:32:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",tmp[S-1]);
^
user.cpp:9:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&N,&K);
^
user.cpp:11:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{fscanf(f,"%d",&a);S+=a;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 12ms | 300kb | OK | 10 |
6 | 16ms | 296kb | OK | 10 |
7 | 16ms | 300kb | OK | 10 |
8 | Depăşit | 348kb | Time limit exceeded. | 0 |
9 | Depăşit | 348kb | Time limit exceeded. | 0 |
10 | Depăşit | 348kb | Time limit exceeded. | 0 |
Punctaj total | 70 |