Pagini recente » Borderou de evaluare (job #2096296) | Borderou de evaluare (job #324734) | Borderou de evaluare (job #1618558) | Borderou de evaluare (job #1992468) | Borderou de evaluare (job #1308618)
Borderou de evaluare (job #1308618)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld\n",&n,&m);
^
user.cpp:13:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:40:49: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
for (j=1;j<=m;j++) printf("%ld ",a[i][j]);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("placare.in","r",stdin);
^
user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("placare.out","w",stdout);
^
user.cpp:13:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld\n",&n,&m);
^
user.cpp:16:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
/tmp/ccDrvkrR.o: In function `main':
user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 0ms | 564kb | OK | 10 |
4 | 0ms | 500kb | OK | 10 |
5 | 0ms | 560kb | OK | 10 |
6 | 0ms | 504kb | OK | 10 |
7 | 0ms | 464kb | OK | 10 |
8 | 4ms | 608kb | Killed by signal 6(SIGABRT). | 0 |
9 | 16ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 448kb | OK | 10 |
Punctaj total | 80 |