Pagini recente » Cod sursa (job #1753916) | Cod sursa (job #2372003) | Borderou de evaluare (job #2958516) | Cod sursa (job #1754916) | Borderou de evaluare (job #2027364)
Borderou de evaluare (job #2027364)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size(); ++i) {
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out","w",stdout);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
user.cpp:22:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:26:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | 0ms | 280kb | OK | 10 |
| 4 | 0ms | 268kb | OK | 10 |
| 5 | 4ms | 280kb | OK | 10 |
| 6 | 4ms | 288kb | OK | 10 |
| 7 | 32ms | 280kb | OK | 10 |
| 8 | 56ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 32ms | 276kb | OK | 10 |
| 10 | 16ms | 264kb | OK | 10 |
| Punctaj total | 90 |