Pagini recente » Borderou de evaluare (job #3136051) | Borderou de evaluare (job #47593) | Borderou de evaluare (job #2211096) | Borderou de evaluare (job #1145889) | Borderou de evaluare (job #1636585)
Borderou de evaluare (job #1636585)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:31: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%c", &mat[i][j]);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("figuri2.in","r",stdin);
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("figuri2.out", "w",stdout);
^
user.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:15:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &mat[i][j]);
^
user.cpp:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 516kb | OK | 10 |
3 | 4ms | 564kb | OK | 10 |
4 | 4ms | 596kb | OK | 10 |
5 | 4ms | 612kb | OK | 10 |
6 | 4ms | 628kb | OK | 10 |
7 | 4ms | 644kb | OK | 10 |
8 | 4ms | 668kb | OK | 10 |
9 | 4ms | 664kb | OK | 10 |
10 | 8ms | 668kb | OK | 10 |
Punctaj total | 100 |