Pagini recente » Cod sursa (job #830263) | Borderou de evaluare (job #1523794) | Borderou de evaluare (job #1524561) | Cod sursa (job #718265) | Borderou de evaluare (job #1219594)
Borderou de evaluare (job #1219594)
Raport evaluator
Compilare:
user.cpp: In function ‘void citeste()’:
user.cpp:11:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);s=0;
^
user.cpp:14:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:86:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",s1-s);
^
user.cpp: In function ‘void citeste()’:
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biscuiti.in","r",stdin);
^
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biscuiti.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);s=0;
^
user.cpp:14:38: 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 | 36ms | 292kb | Incorect | 0 |
| 2 | Depăşit | 3072kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 412kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 584kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 3000kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 3016kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 3036kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 3068kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 3068kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 3072kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |