Pagini recente » Borderou de evaluare (job #2082611) | Borderou de evaluare (job #2461343) | Borderou de evaluare (job #29707) | Borderou de evaluare (job #3168975) | Borderou de evaluare (job #1393488)
Borderou de evaluare (job #1393488)
Raport evaluator
Compilare:
user.cpp: In function ‘int factorial()’:
user.cpp:32:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:65:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10005]’ [-Wformat=]
scanf("%s",&S);
^
user.cpp:67:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<strlen(S);j++)
^
user.cpp:58:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifru5.in","r",stdin);
^
user.cpp:59:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifru5.out","w",stdout);
^
user.cpp:61:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:65:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&S);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK | 10 |
2 | 44ms | 464kb | OK | 10 |
3 | 84ms | 472kb | OK | 10 |
4 | Depăşit | 444kb | Time limit exceeded. | 0 |
5 | Depăşit | 476kb | Time limit exceeded. | 0 |
6 | Depăşit | 472kb | Time limit exceeded. | 0 |
7 | Depăşit | 512kb | Time limit exceeded. | 0 |
8 | Depăşit | 580kb | Time limit exceeded. | 0 |
9 | Depăşit | 588kb | Time limit exceeded. | 0 |
10 | Depăşit | 564kb | Time limit exceeded. | 0 |
Punctaj total | 30 |