Pagini recente » Borderou de evaluare (job #3293903) | Borderou de evaluare (job #572414) | Borderou de evaluare (job #3251906) | Borderou de evaluare (job #3067) | Borderou de evaluare (job #1590825)
Borderou de evaluare (job #1590825)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%ld%ld",&n,&m);
^
user.cpp:11:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:14:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%ld",&p[i]);
^
user.cpp:40:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%ld",v[m]);
^
user.cpp:11:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld%ld",&n,&m);
^
user.cpp:14:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&p[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 0ms | 460kb | OK | 10 |
3 | 0ms | 460kb | OK | 10 |
4 | 4ms | 488kb | OK | 10 |
5 | 8ms | 528kb | OK | 10 |
6 | 12ms | 564kb | OK | 10 |
7 | 12ms | 560kb | OK | 10 |
8 | 12ms | 568kb | OK | 10 |
9 | 12ms | 560kb | OK | 10 |
10 | 12ms | 564kb | Incorect | 0 |
Punctaj total | 90 |