Pagini recente » Borderou de evaluare (job #691954) | Borderou de evaluare (job #1267947) | Borderou de evaluare (job #2817095) | Borderou de evaluare (job #3139685) | Borderou de evaluare (job #2021026)
Borderou de evaluare (job #2021026)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:10:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&k);
^
user.cpp:10:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:12:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:35:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",v[n]-v[1]-rasp);
^
user.cpp: In function ‘void citire()’:
user.cpp:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kcover.in","r",stdin);
^
user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kcover.out","w",stdout);
^
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 440kb | Incorect | 0 | 0 |
2 | 16ms | 628kb | OK | 25 |
3 | 292ms | 1780kb | Incorect | 0 |
4 | Depăşit | 1852kb | Time limit exceeded. | 0 |
Punctaj total | 0 |