Pagini recente » Borderou de evaluare (job #2548912) | Borderou de evaluare (job #1337182) | Borderou de evaluare (job #2950117) | Borderou de evaluare (job #756861) | Borderou de evaluare (job #1046222)
Borderou de evaluare (job #1046222)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%ld%ld%ld",&n,&k,&m);
^
user.cpp:20:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:20:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=]
user.cpp:22:38: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%ld%ld",&v[i].a,&v[i].b);
^
user.cpp:22:38: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:49:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld %ld\n",n,nr-1);
^
user.cpp:49:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=]
user.cpp:51:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld %ld\n",n,nr);
^
user.cpp:51:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 4ms | 256kb | Incorect | 0 |
4 | 0ms | 248kb | OK | 10 |
5 | 0ms | 248kb | OK | 10 |
6 | 4ms | 248kb | Incorect | 0 |
7 | 0ms | 244kb | Incorect | 0 |
8 | 4ms | 248kb | Incorect | 0 |
9 | 4ms | 256kb | Incorect | 0 |
10 | 0ms | 244kb | OK | 10 |
Punctaj total | 50 |