Pagini recente » Borderou de evaluare (job #2746179) | Borderou de evaluare (job #2613807) | Borderou de evaluare (job #1392775) | Cod sursa (job #1571925) | Borderou de evaluare (job #1345380)
Borderou de evaluare (job #1345380)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld",&n,&l);
^
user.cpp:31:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:32:40: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(i=1;i<=n;i++) scanf("%ld",&a[i]);
^
user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("oite.in","r",stdin);
^
user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("oite.out","w",stdout);
^
user.cpp:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&l);
^
user.cpp:32:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%ld",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1308kb | OK | 10 |
| 2 | 8ms | 1744kb | OK | 10 |
| 3 | 12ms | 2652kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 16ms | 3528kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 36ms | 3916kb | OK | 10 |
| 6 | 40ms | 6144kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | Depăşit | 10488kb | Time limit exceeded. | 0 |
| 8 | 72ms | 8220kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | Depăşit | 14468kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 11604kb | Time limit exceeded. | 0 |
| Punctaj total | 30 |