Pagini recente » Borderou de evaluare (job #834259) | Borderou de evaluare (job #1033424) | Borderou de evaluare (job #2925948) | Borderou de evaluare (job #1078317) | Borderou de evaluare (job #1535966)
Borderou de evaluare (job #1535966)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:68:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d\n",g[i],K[i]);
^
user.cpp:68:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:41:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in","r",stdin);
^
user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out","w",stdout);
^
user.cpp:43:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:44:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%d",&t[i]);
^
user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK! | 10 |
2 | 0ms | 456kb | OK! | 10 |
3 | 0ms | 456kb | A doua valoare gresita! | 7 |
4 | 0ms | 452kb | OK! | 10 |
5 | Depăşit | 472kb | Time limit exceeded. | 0 |
6 | Depăşit | 468kb | Time limit exceeded. | 0 |
7 | 0ms | 452kb | A doua valoare gresita! | 7 |
8 | Depăşit | 416kb | Time limit exceeded. | 0 |
9 | Depăşit | 428kb | Time limit exceeded. | 0 |
10 | 0ms | 456kb | A doua valoare gresita! | 7 |
Punctaj total | 51 |