Pagini recente » Borderou de evaluare (job #3209475) | Borderou de evaluare (job #1136018) | Borderou de evaluare (job #1627535) | Borderou de evaluare (job #1198197) | Borderou de evaluare (job #1254330)
Borderou de evaluare (job #1254330)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:7:34: 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:8:36: 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);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 436kb | Lungime incorecta! | 0 | 0 |
2 | 0ms | 456kb | Corect! | 10 | 10 |
3 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 0ms | 828kb | Lungime incorecta! | 0 | 0 |
6 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 10 |