Pagini recente » Borderou de evaluare (job #2191608) | Borderou de evaluare (job #3284453) | Borderou de evaluare (job #1860571) | Borderou de evaluare (job #2555753) | Borderou de evaluare (job #2164878)
Borderou de evaluare (job #2164878)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:99:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", nrdiv);
^
user.cpp:100:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", (psus*x)%MOD);
^
user.cpp:60:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ssnd.in", "r", stdin);
^
user.cpp:61:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ssnd.out", "w", stdout);
^
user.cpp:65:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
user.cpp:71:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &u);
^
user.cpp: In function ‘void c()’:
user.cpp:14:18: warning: iteration 1000000u invokes undefined behavior [-Waggressive-loop-optimizations]
if(ciur[i] == 0)
^
user.cpp:12:19: note: containing loop
for(int i=2; i<=1000002; i++)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 16ms | 2940kb | OK | 10 | 10 |
| 2 | 12ms | 3016kb | OK | 10 | 10 |
| 3 | 16ms | 2948kb | OK | 10 | 10 |
| 4 | 16ms | 2924kb | OK | 10 | 10 |
| 5 | 12ms | 3012kb | OK | 10 | 10 |
| 6 | 12ms | 3008kb | OK | 10 | 10 |
| 7 | 16ms | 3020kb | OK | 10 | 10 |
| 8 | 60ms | 2960kb | OK | 10 | 30 |
| 9 | 56ms | 2964kb | OK | 10 |
| 10 | 52ms | 3028kb | OK | 10 |
| Punctaj total | 100 |