Pagini recente » Borderou de evaluare (job #2741590) | Borderou de evaluare (job #1475964) | Borderou de evaluare (job #2389563) | Borderou de evaluare (job #3173779) | Borderou de evaluare (job #1443760)
Borderou de evaluare (job #1443760)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&n,&x);
^
user.cpp:28:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:32:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&y);
^
user.cpp:43:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d\n",i);
^
user.cpp:44:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
for(x=1;x<=i; x++) fprintf(g,"%d\n",s[x]);
^
user.cpp:27:24: warning: unused variable ‘nr’ [-Wunused-variable]
long long int i,x,y,nr;
^
user.cpp:28:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&x);
^
user.cpp:32:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 732kb | Incorect | 0 |
2 | 60ms | 1828kb | Incorect | 0 |
3 | 124ms | 4672kb | Incorect | 0 |
4 | 256ms | 8068kb | Incorect | 0 |
5 | 40ms | 1520kb | Incorect | 0 |
6 | 24ms | 1044kb | Incorect | 0 |
7 | 44ms | 1672kb | Incorect | 0 |
8 | 0ms | 340kb | Incorect | 0 |
9 | 0ms | 328kb | OK | 10 |
10 | 0ms | 260kb | Incorect | 0 |
Punctaj total | 10 |