Pagini recente » Cod sursa (job #1186515) | Cod sursa (job #231110) | Cod sursa (job #2442239) | Cod sursa (job #18410) | Borderou de evaluare (job #2133669)
Borderou de evaluare (job #2133669)
Raport evaluator
Compilare:
user.cpp: In function ‘void rez()’:
user.cpp:14:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ", &a[i]);
^
user.cpp:34:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
printf("%d\n%d ", maxim, a[poz]);
^
user.cpp:41:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", a[poz]);
^
user.cpp:11:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:48:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in", "r", stdin);
^
user.cpp:49:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 1528kb | Corect! | 10 | 10 |
2 | 12ms | 1536kb | Corect! | 10 | 10 |
3 | 0ms | 1516kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 4ms | 1516kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 4ms | 1520kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 8ms | 1528kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 12ms | 1528kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | Depăşit | 2316kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 2360kb | Time limit exceeded. | 0 |
10 | Depăşit | 2316kb | Time limit exceeded. | 0 |
Punctaj total | 20 |