Pagini recente » Borderou de evaluare (job #1290945) | Borderou de evaluare (job #1206646) | Borderou de evaluare (job #2139408) | Borderou de evaluare (job #301481) | Borderou de evaluare (job #1532937)
Borderou de evaluare (job #1532937)
Raport evaluator
Compilare:
user.cpp: In function ‘int calc(const int&)’:
user.cpp:47:9: warning: unused variable ‘num’ [-Wunused-variable]
int num = n/key;
^
user.cpp: In function ‘int main()’:
user.cpp:69:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(in, "r", stdin);
^
user.cpp:70:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(out, "w", stdout);
^
user.cpp:71:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:72:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; ++i) scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 20ms | 2576kb | Incorect | 0 | 0 |
2 | 20ms | 2576kb | Incorect | 0 |
3 | 12ms | 504kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 12ms | 508kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 8ms | 508kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 8ms | 508kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 20ms | 500kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 20ms | 504kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 20ms | 500kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
10 | 16ms | 508kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |