Pagini recente » Borderou de evaluare (job #518212) | Borderou de evaluare (job #2999342) | Borderou de evaluare (job #1912951) | Borderou de evaluare (job #2142038) | Borderou de evaluare (job #2676993)
Borderou de evaluare (job #2676993)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:95:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=2;i<=n;i++)
^~~
main.cpp:98:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
printf("%d\n",sol);
^~~~~~
main.cpp:35:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sirinf.in","r",stdin);
^
main.cpp:36:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sirinf.out","w",stdout);
^
main.cpp:38:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
main.cpp:43:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
main.cpp:44:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 500ms | 28172kb | Time limit exceeded | 0 | 0 |
2 | 219ms | 1171kb | OK | 20 |
3 | 3ms | 131kb | OK | 20 |
4 | 413ms | 32014kb | Memory limit exceeded | 0 |
5 | 412ms | 32014kb | Memory limit exceeded | 0 |
Punctaj total | 0 |