Pagini recente » Borderou de evaluare (job #2419041) | Borderou de evaluare (job #1024204) | Borderou de evaluare (job #2161998) | Borderou de evaluare (job #1466953) | Borderou de evaluare (job #1892656)
Borderou de evaluare (job #1892656)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
for(int i=0;i<NP;i++) fscanf(f,"%d",&P[i]);
^
user.cpp:13:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&N);
^
user.cpp:14:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=N;i++) fscanf(f,"%lld",&V[i]);
^
user.cpp:15:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&NP);
^
user.cpp:16:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=0;i<NP;i++) fscanf(f,"%d",&P[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK | 10 |
2 | 8ms | 800kb | OK | 10 |
3 | 16ms | 1304kb | OK | 10 |
4 | 8ms | 1292kb | OK | 10 |
5 | 0ms | 876kb | OK | 10 |
6 | 176ms | 8328kb | OK | 10 |
7 | 308ms | 16376kb | OK | 10 |
8 | 284ms | 16372kb | OK | 10 |
9 | 496ms | Depăşit | Memory limit exceeded. | 0 |
10 | 696ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 80 |