Pagini recente » Borderou de evaluare (job #1556277) | Borderou de evaluare (job #1963774) | Borderou de evaluare (job #105829) | Borderou de evaluare (job #1772518) | Borderou de evaluare (job #1317437)
Borderou de evaluare (job #1317437)
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:34: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 | 428kb | Incorect | 0 | 0 |
2 | 0ms | 432kb | Incorect | 0 |
3 | 0ms | 432kb | OK | 10 |
4 | 0ms | 428kb | Incorect | 0 |
5 | 0ms | 428kb | Incorect | 0 |
6 | 0ms | 468kb | Incorect | 0 |
7 | 0ms | 468kb | Incorect | 0 |
8 | 24ms | 816kb | Incorect | 0 |
9 | 16ms | 824kb | Incorect | 0 |
10 | 20ms | 820kb | Incorect | 0 |
Punctaj total | 0 |