Pagini recente » Borderou de evaluare (job #2502558) | Borderou de evaluare (job #1113927) | Cod sursa (job #2377055) | Cod sursa (job #2150331) | Borderou de evaluare (job #1519880)
Borderou de evaluare (job #1519880)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d %d %d",&n,&k,&hp);
^
user.cpp:52:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:52:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:58:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&a[i]);
^
user.cpp:52:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d %d",&n,&k,&hp);
^
user.cpp:58:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 280kb | OK | 10 |
| 5 | 12ms | 804kb | OK | 10 |
| 6 | 0ms | 264kb | Incorect | 0 |
| 7 | 0ms | 284kb | Incorect | 0 |
| 8 | 0ms | 268kb | Incorect | 0 |
| 9 | 0ms | 268kb | Incorect | 0 |
| 10 | 0ms | 272kb | Incorect | 0 |
| Punctaj total | 50 |