Pagini recente » Borderou de evaluare (job #639758) | Borderou de evaluare (job #1576348) | Borderou de evaluare (job #757925) | Borderou de evaluare (job #2799136) | Borderou de evaluare (job #1961575)
Borderou de evaluare (job #1961575)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(IN,"%d",&N);
^
user.cpp:33:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(OUT,"%d ",i+N/2);
^
user.cpp:38:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(OUT,"%d ",(N+1)/2);
^
user.cpp:39:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(OUT,"%d ",N);
^
user.cpp:44:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(OUT,"%d ",i+N/2);
^
user.cpp:18:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d",&N);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Like a boss ! | 10 |
2 | 0ms | 276kb | Like a boss ! | 10 |
3 | 0ms | 284kb | Like a boss ! | 10 |
4 | 8ms | 520kb | Like a boss ! | 10 |
5 | 12ms | 676kb | Like a boss ! | 10 |
6 | 24ms | 1064kb | Like a boss ! | 10 |
7 | 56ms | 1844kb | Like a boss ! | 10 |
8 | 88ms | 2624kb | Like a boss ! | 10 |
9 | 116ms | 3412kb | Like a boss ! | 10 |
10 | 144ms | 4188kb | Like a boss ! | 10 |
Punctaj total | 100 |