Pagini recente » Borderou de evaluare (job #2317833) | Borderou de evaluare (job #1442944) | Borderou de evaluare (job #1324204) | Borderou de evaluare (job #1406991) | Borderou de evaluare (job #1195045)
Borderou de evaluare (job #1195045)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:23:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",cnt);
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.out","w",stdout);
^
user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x);
^
user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2264ms | 528kb | OK | 20 |
2 | 2804ms | 528kb | OK | 20 |
3 | 2576ms | 528kb | OK | 20 |
4 | 2248ms | 528kb | OK | 20 |
5 | 2352ms | 528kb | OK | 20 |
Punctaj total | 100 |