Pagini recente » Cod sursa (job #1161209) | Cod sursa (job #2043989) | Cod sursa (job #1542811) | Borderou de evaluare (job #1983599) | Borderou de evaluare (job #1542171)
Borderou de evaluare (job #1542171)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:19: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%lld",&n);
^
user.cpp:33:9: warning: unused variable ‘j’ [-Wunused-variable]
{ int i,j;
^
user.cpp:37:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&n);
^
user.cpp:38:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&b);
^
user.cpp:41:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 280kb | OK | 10 |
| 4 | 0ms | 280kb | OK | 10 |
| 5 | 0ms | 288kb | OK | 10 |
| 6 | 0ms | 292kb | OK | 10 |
| 7 | 20ms | 432kb | OK | 10 |
| 8 | 16ms | 428kb | OK | 10 |
| 9 | 44ms | 624kb | OK | 10 |
| 10 | 44ms | 620kb | OK | 10 |
| Punctaj total | 100 |