Pagini recente » Cod sursa (job #2747955) | Cod sursa (job #779255) | Cod sursa (job #40177) | Cod sursa (job #2407903) | Borderou de evaluare (job #2601478)
Borderou de evaluare (job #2601478)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=0;j<nr;j++)
^~~
main.cpp:34:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
loc[i]=nod;
^~~
main.cpp:10:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in","r",stdin);
^
main.cpp:11:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out","w",stdout);
^
main.cpp:12:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
main.cpp:14:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",sc);
^
main.cpp:22:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&m);
^
main.cpp:24:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",sc);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 18ms | 262kb | OK | 10 |
| 2 | 7ms | 131kb | OK | 10 |
| 3 | 6ms | 262kb | OK | 10 |
| 4 | 22ms | 655kb | OK | 10 |
| 5 | 19ms | 3145kb | OK | 10 |
| 6 | 22ms | 3145kb | OK | 10 |
| 7 | 25ms | 3145kb | OK | 10 |
| 8 | 232ms | 48889kb | OK | 10 |
| 9 | 240ms | 55312kb | OK | 10 |
| 10 | 90ms | 4587kb | OK | 10 |
| Punctaj total | 100 |