Pagini recente » Borderou de evaluare (job #3214300) | Borderou de evaluare (job #1204574) | Borderou de evaluare (job #982294) | Borderou de evaluare (job #393668) | Borderou de evaluare (job #1317458)
Borderou de evaluare (job #1317458)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&n,&s);
^
user.cpp:35:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(h,"%d",s);
^
user.cpp:12:17: warning: unused variable ‘profit’ [-Wunused-variable]
long long s,profit;
^
user.cpp:14:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&s);
^
user.cpp:16:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&p[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 432kb | Incorect | 0 | 0 |
2 | 0ms | 428kb | Incorect | 0 |
3 | 0ms | 428kb | OK | 10 |
4 | 0ms | 432kb | Incorect | 0 |
5 | 0ms | 436kb | Incorect | 0 |
6 | 0ms | 472kb | Incorect | 0 |
7 | 0ms | 464kb | Incorect | 0 |
8 | 24ms | 820kb | Incorect | 0 |
9 | 16ms | 820kb | Incorect | 0 |
10 | 16ms | 820kb | Incorect | 0 |
Punctaj total | 0 |