Pagini recente » Borderou de evaluare (job #2733425) | Borderou de evaluare (job #2019204) | Borderou de evaluare (job #1969624) | Borderou de evaluare (job #1719607) | Borderou de evaluare (job #1252979)
Borderou de evaluare (job #1252979)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:22: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=]
scanf("%lld", &g[i]);
^
user.cpp:65:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p <= max && j <= M)
^
user.cpp:67:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(p <= g[j] && v[j] == 0)
^
user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cocochanel.in", "r", stdin);
^
user.cpp:43:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cocochanel.out", "w", stdout);
^
user.cpp:45:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:49:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c[i]);
^
user.cpp:53:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &g[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | 4ms | 288kb | OK | 10 |
| 4 | 0ms | 288kb | OK | 10 |
| 5 | 64ms | 1020kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 64ms | 1028kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 64ms | 1028kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 60ms | 1024kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 60ms | 1024kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 52ms | 1024kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 40 |