Pagini recente » Borderou de evaluare (job #2623393) | Borderou de evaluare (job #2895236) | Borderou de evaluare (job #533440) | Borderou de evaluare (job #119565) | Borderou de evaluare (job #31441)
Borderou de evaluare (job #31441)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:29: error: ‘memset’ was not declared in this scope
memset(num, 0, sizeof(num));
^
user.cpp:23:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(iname, "r", stdin);
^
user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", & N, & M);
^
user.cpp:28:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", T + i, C + i, B + i);
^
user.cpp:77:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(oname, "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 12kb | OK | 10 |
2 | 4ms | 220kb | OK | 10 |
3 | 1036ms | 280kb | OK | 10 |
4 | 4252ms | 800kb | OK | 10 |
5 | Depăşit | 796kb | Time limit exceeded. | 0 |
6 | 984ms | 780kb | OK | 10 |
7 | 100ms | 800kb | OK | 10 |
8 | 244ms | 800kb | OK | 10 |
9 | 244ms | 796kb | OK | 10 |
10 | 276ms | 796kb | OK | 10 |
Punctaj total | 0 |