Pagini recente » Borderou de evaluare (job #1293486) | Cod sursa (job #2165902) | Borderou de evaluare (job #1838275) | Cod sursa (job #654905) | Borderou de evaluare (job #1462220)
Borderou de evaluare (job #1462220)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
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("raliu.in","r",stdin);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:15:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:16:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1;i <= n;++i) scanf("%d",&x),s[i] = x;
^
user.cpp:17:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1;i <= n;++i) scanf("%d",&x),s[i] -= x;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 480kb | OK | 10 |
2 | 0ms | 496kb | OK | 10 |
3 | 4ms | 516kb | OK | 10 |
4 | 140ms | 1880kb | OK | 10 |
5 | 216ms | 2820kb | OK | 10 |
6 | 364ms | 3992kb | OK | 10 |
7 | 1708ms | 14540kb | OK | 10 |
8 | 472ms | Depăşit | Memory limit exceeded. | 0 |
9 | 452ms | Depăşit | Memory limit exceeded. | 0 |
10 | 540ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 70 |