Pagini recente » Borderou de evaluare (job #3183327) | Borderou de evaluare (job #3211971) | Borderou de evaluare (job #3272611) | Borderou de evaluare (job #220351) | Borderou de evaluare (job #1509592)
Borderou de evaluare (job #1509592)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:36:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:46:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",(n*(n-1)/2-ans)%9917);
^
user.cpp:31:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.in","r",stdin);
^
user.cpp:32:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.out","w",stdout);
^
user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:36:23: 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 | 1840kb | OK | 10 |
2 | 8ms | 1912kb | OK | 10 |
3 | 20ms | 2028kb | OK | 10 |
4 | 28ms | 2140kb | OK | 10 |
5 | 44ms | 2296kb | OK | 10 |
6 | 56ms | 2372kb | OK | 10 |
7 | 64ms | 2452kb | OK | 10 |
8 | 68ms | 2536kb | OK | 10 |
9 | 76ms | 2612kb | OK | 10 |
10 | 0ms | 1824kb | OK | 10 |
Punctaj total | 100 |