Pagini recente » Cod sursa (job #810259) | Cod sursa (job #2300007) | Borderou de evaluare (job #1524900) | Cod sursa (job #64909) | Borderou de evaluare (job #1517122)
Borderou de evaluare (job #1517122)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:65:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:74:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",ras);
^
user.cpp:60:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("overdrive.in","r",stdin);
^
user.cpp:61:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("overdrive.out","w",stdout);
^
user.cpp:62:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:65:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 8ms | 272kb | Incorect | 0 |
| 4 | Depăşit | 744kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 748kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 748kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 752kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 748kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 748kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 748kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |