Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1590823)
Utilizator | Data | 5 februarie 2016 16:25:25 | |
---|---|---|---|
Problema | Numar2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 90 |
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:11:26: warning: format ‘%d’ expects argument of type ‘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:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&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 | 452kb | OK | 10 |
3 | 0ms | 460kb | OK | 10 |
4 | 4ms | 492kb | OK | 10 |
5 | 8ms | 528kb | OK | 10 |
6 | 12ms | 564kb | OK | 10 |
7 | 12ms | 564kb | OK | 10 |
8 | 12ms | 568kb | OK | 10 |
9 | 12ms | 564kb | OK | 10 |
10 | 12ms | 564kb | Incorect | 0 |
Punctaj total | 90 |
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !