Pagini recente » Borderou de evaluare (job #2981358) | Borderou de evaluare (job #2559056) | Borderou de evaluare (job #2932524) | Borderou de evaluare (job #2617660) | Borderou de evaluare (job #1513345)
Borderou de evaluare (job #1513345)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("suma.in", "r", stdin);
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("suma.out", "w", stdout);
^
user.cpp:18:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &N, &MOD);
^
user.cpp: In function ‘int sumPatImp(int)’:
user.cpp:11:12: warning: ‘ANS’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return ANS;
^
user.cpp: In function ‘int main()’:
user.cpp:27:20: warning: ‘ANS’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ANS =(ANS + (2 * sumPatImp (N - 1))) % MOD;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 260kb | OK | 10 |
| 3 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 236kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 236kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 244kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |