Pagini recente » Borderou de evaluare (job #2445891) | Borderou de evaluare (job #2013840) | Cod sursa (job #721494) | Borderou de evaluare (job #1793361) | Borderou de evaluare (job #1327862)
Borderou de evaluare (job #1327862)
Raport evaluator
Compilare:
user.cpp: In function ‘void ciur(int)’:
user.cpp:22:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf ("%d", nr-2);
^
user.cpp: In function ‘int main()’:
user.cpp:28:7: warning: unused variable ‘i’ [-Wunused-variable]
int n,i;
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("fractii.in", "r", stdin);
^
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("fractii.out", "w", stdout);
^
user.cpp:29:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 348kb | Raspuns gresit | 0 |
2 | 0ms | 244kb | Raspuns gresit | 0 |
3 | 0ms | 264kb | Raspuns gresit | 0 |
4 | 0ms | 264kb | Raspuns gresit | 0 |
5 | 0ms | 312kb | Raspuns gresit | 0 |
6 | 0ms | 368kb | Raspuns gresit | 0 |
7 | 0ms | 500kb | Raspuns gresit | 0 |
8 | 4ms | 728kb | Raspuns gresit | 0 |
9 | 8ms | 968kb | Raspuns gresit | 0 |
10 | 12ms | 1220kb | Raspuns gresit | 0 |
Punctaj total | 0 |